amoorion.nats.service¶
The daemon’s service: what arrives on <prefix>.in.> is kept in the inbox.
Functions
|
A NATS message as an inbox message: JSON with |
Classes
|
A daemon service: keeps what arrives on |
- amoorion.nats.service.to_message(subject, data)[source]¶
A NATS message as an inbox message: JSON with
textis read, the rest kept as plain text.- Parameters:
subject (str)
data (bytes)
- Return type:
- class amoorion.nats.service.NatsService(server, vault=None, inbox=None)[source]¶
Bases:
ControllerA daemon service: keeps what arrives on
<prefix>.in.>in the inbox.