Skip to main content

Module method

Module method 

Source
Expand description

Per-method metadata — used by the middleware to gate access and attribute rate limits.

Servers register each method they dispatch with a MethodMeta describing:

  • name — wire name (e.g., "get_blockchain_state").
  • class — read / write / admin; drives audit logging.
  • min_role — the minimum Role required to call.
  • rate_bucket — which token bucket accounts for this call.
  • public_exposed — whether the method is served on the public port.

Structs§

MethodMeta
Per-method metadata.
MethodRegistry
Registry of method metadata.

Enums§

MethodClass
Broad method class, used by the audit log and the public-port filter.
RateBucket
Named rate-limit bucket.