22 lines
617 B
Rust
22 lines
617 B
Rust
//! Peers: a consolidator's view of other `slinuxm` instances.
|
|
//!
|
|
//! Configuration is declarative; nothing in this module writes to a peer or
|
|
//! to the host. The registry read side is lock-light because REST, MCP and
|
|
//! metrics render status on every scrape.
|
|
|
|
pub mod cli;
|
|
pub mod config;
|
|
pub mod error;
|
|
pub mod health;
|
|
pub mod proxy;
|
|
pub mod registry;
|
|
pub mod secrets;
|
|
pub mod testing;
|
|
pub mod transport;
|
|
pub mod types;
|
|
|
|
pub use error::{PeerConfigError, PeerError};
|
|
pub use registry::{PeerRegistry, ProxyOpts};
|
|
pub use secrets::load_token;
|
|
pub use types::{PeerConfig, PeerName, PeerStatus, PeersConfig, Secret};
|