Expand description
LVQR server library entry point.
main.rs parses CLI args and hands off to start; tests and embedders
can call start directly with a pre-built ServeConfig. Every
listener (MoQ/QUIC, RTMP/TCP, admin/TCP) is bound inside start before
it returns, so callers who pass port: 0 can read the real bound
addresses back off the returned ServerHandle and point test clients
at them without polling.
This is the library target used by lvqr-test-utils::TestServer to
spin up a full-stack LVQR instance on ephemeral ports inside
integration tests.
Modules§
- cluster_
claim - Ingest auto-claim bridge (Tier 3 session F2c).
Structs§
- Serve
Config - Configuration passed to
startto bring up a full-stack LVQR server. - Server
Handle - Handle to a running LVQR server. Dropping the handle cancels the shared
shutdown token but does not block on subsystem drain; call
shutdownexplicitly in tests that need deterministic teardown before the next fixture starts.
Functions§
- start
- Start a full-stack LVQR server. All listeners are bound before the
function returns, so the
ServerHandleimmediately reports real addresses even when the config requested ephemeral ports.