1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod admin;
pub mod agent;
pub mod manage;
pub mod proxy;
pub mod relay;

/// Args common across all components
pub struct RunArgs<T> {
    /// Config
    pub config: std::sync::Arc<crate::Config>,
    /// The ready check and idle duration
    pub ready: T,
    /// Channel used to indicate graceful shutdown requests
    pub shutdown_rx: crate::ShutdownRx,
}