Skip to main content

Crate lvqr_cli

Crate lvqr_cli 

Source
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§

ServeConfig
Configuration passed to start to bring up a full-stack LVQR server.
ServerHandle
Handle to a running LVQR server. Dropping the handle cancels the shared shutdown token but does not block on subsystem drain; call shutdown explicitly 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 ServerHandle immediately reports real addresses even when the config requested ephemeral ports.