Expand description
Host process: load config, start adapters, wait for Ctrl-C.
This binary owns process lifetime only. Protocol work lives in adapter
crates; routing lives in oa_gateway_core. A failed adapter is logged
and left down โ it does not take the others with it.
Modulesยง
- adapters ๐Builds each enabled adapter and spawns its
runtask. - addr ๐Resolves configured
host:portstrings tostd::net::SocketAddr. - cli ๐Parses argv into help, version, or a config path.
- config ๐Host TOML: one section per adapter, plus the UCI schema the host compiles.
- schema ๐Compiles the UCI schema named in the config before any adapter listens.
- serve ๐Runs the host until Ctrl-C, then cancels every adapter and waits for them.
- tls ๐Reads the TLS material named in the config before any adapter listens.