Skip to main content

Module service_cli

Module service_cli 

Source

Re-exports§

pub use crate::transport::TransportListenerFailure;
pub use crate::transport::TransportListenerState;
pub use crate::transport::TransportReadiness;

Structs§

BackupTasksHandle
Shutdown handle for the periodic checkpointer + archiver tasks. Drop signals both loops to exit on their next wake.
BootedNode
A fully initialized node whose HTTP / gRPC listeners are already bound. Calling BootedNode::run opens the remaining listeners and serves them all on the same runtime.
BootstrapConfig
RuntimeConfig
ServerCommandConfig
SystemdServiceConfig

Enums§

ServerTransport

Constants§

DEFAULT_ROUTER_BIND_ADDR

Functions§

bind_listener_for_startup
Bind a TCP listener for a transport at startup and record the outcome in the shared TransportReadiness state.
bootstrap_server
Initialize one node and bind its front transports before serving.
default_telemetry_for_path
Build a sane default TelemetryConfig from a server path when the caller didn’t set one explicitly. Writes rotating logs into the parent directory of the DB file (or ./logs for in-memory / pathless runs). Level defaults to info, pretty stderr format.
detect_runtime_config
Detect available CPU cores and suggest worker thread count.
install_systemd_service
Install a systemd unit + start the service.
probe_listener
render_systemd_unit
run_server
The only process-level server run path.
transport_set
Build the canonical descriptor set for one server command.