mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-05 21:49:31 +00:00
19 lines
511 B
Nim
19 lines
511 B
Nim
|
|
{.push raises: [].}
|
||
|
|
|
||
|
|
## Waku API: kernel node-introspection broker types.
|
||
|
|
##
|
||
|
|
## Reports which optional protocol clients are mounted. Pure declarations; the
|
||
|
|
## provider is wired by WakuNode.startProvidersAndListeners.
|
||
|
|
|
||
|
|
import brokers/[broker_context, request_broker]
|
||
|
|
|
||
|
|
# Which optional protocol clients are currently mounted on the node.
|
||
|
|
RequestBroker(sync):
|
||
|
|
type RequestProtocolMountStatus* = object
|
||
|
|
relayMounted*: bool
|
||
|
|
lightpushMounted*: bool
|
||
|
|
filterMounted*: bool
|
||
|
|
storeMounted*: bool
|
||
|
|
|
||
|
|
{.pop.}
|