5export module zxfoundation.dgp.gate.registration;
6import zxfoundation.dgp.authorize.core;
7import zxfoundation.dgp.gate.types;
8import zxfoundation.dgp.gate.types;
9import zxfoundation.dgp.gate.dispatch;
10import zxfoundation.base.types;
16namespace zxfoundation::dgp::gate::registration {
18 [[nodiscard]]
constexpr auto make_op(
20 dispatch::dispatch_handler handler,
21 dispatch::gate_auth_level auth = dispatch::gate_auth_level::none,
22 dgp::operation_kind op_kind = dgp::operation_kind::none
23 )
noexcept -> dispatch::registration_op {
24 return dispatch::registration_op{
25 .operation_id = op_id,
27 .meta = dispatch::entry_meta{
28 .operation_id = op_id,
36 auto register_all_handlers()
noexcept ->
void;