Modulesยง
Structsยง
- Nats
Balance Update Publisher - Nats
Config - Nats
Publisher - Publishes engine commands to NATS JetStream. Used by the primary engine after each apply().
- Nats
Replay Subscriber - Subscribes to the engine command stream and replays commands. Used by the standby engine to stay caught up with the primary.
- Parsed
Command ๐Payload - Replay
Message
Enumsยง
Constantsยง
- COMMAND_
PAYLOAD_ PREFIX_ LEN - COMMAND_
WIRE_ VERSION_ V1 - LEGACY_
COMMAND_ PAYLOAD_ PREFIX_ LEN - LEGACY_
COMMAND_ WIRE_ VERSION
Functionsยง
- balance_
update_ ๐stream_ config - balance_
update_ ๐stream_ name - balance_
update_ ๐subject - command_
stream_ ๐config - decode_
balance_ ๐update_ wire - get_
or_ ๐create_ balance_ update_ stream - get_
or_ ๐create_ command_ stream - parse_
command_ ๐payload - stream_
name ๐ - subject ๐