forked from Deuxfleurs/diplonat
11 lines
399 B
Rust
11 lines
399 B
Rust
mod options;
|
|
#[cfg(test)]
|
|
mod options_test;
|
|
mod runtime;
|
|
|
|
pub use options::{ConfigOpts, ConfigOptsConsul, ConfigOptsAcme, ConfigOptsFirewall, ConfigOptsIgd};
|
|
pub use runtime::{RuntimeConfig, RuntimeConfigAcme, RuntimeConfigConsul, RuntimeConfigFirewall, RuntimeConfigIgd};
|
|
|
|
pub const EXPIRATION_TIME: u16 = 300;
|
|
pub const REFRESH_TIME: u16 = 60;
|
|
pub const CONSUL_URL: &str = "http://127.0.0.1:8500"; |