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