aboutsummaryrefslogblamecommitdiff
path: root/src/config/mod.rs
blob: 45ea975bf04a068ddcf43629a31d44371de2e878 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                                
                  

                                                                                                 
  


                                     
                                                     
                                                       
mod options;
#[cfg(test)]
mod options_test;
mod runtime;

pub use options::{ConfigOpts, ConfigOptsAcme, ConfigOptsBase, ConfigOptsConsul};
pub use runtime::{
  RuntimeConfig, RuntimeConfigAcme, RuntimeConfigConsul, RuntimeConfigFirewall, RuntimeConfigIgd,
  RuntimeConfigStun,
};

pub const EXPIRATION_TIME: u16 = 300;
pub const REFRESH_TIME: u16 = 60;
pub const CONSUL_URL: &str = "http://127.0.0.1:8500";
pub const STUN_SERVER: &str = "stun.nextcloud.com:443";