Skip to main content

Module namespace

Module namespace 

Source
Expand description

Code generation for the #[rorpc::namespace("/prefix")] attribute macro.

Registers a namespace prefix for a module. All handlers within the module will have their paths prefixed with this namespace at runtime (during router construction and contract generation).

Structs§

NamespaceArgs
Parsed arguments for the #[rorpc::namespace("/prefix")] attribute.

Functions§

expand_namespace
Expand the #[rorpc::namespace("/prefix")] attribute.