tcplane/config/
impl.rs

1use crate::*;
2
3impl Default for ServerConfig {
4    fn default() -> Self {
5        Self {
6            host: DEFAULT_HOST.to_owned(),
7            port: DEFAULT_LISTEN_PORT,
8            log_dir: DEFAULT_LOG_DIR.to_owned(),
9            log_size: DEFAULT_LOG_FILE_SIZE,
10            buffer_size: DEFAULT_BUFFER_SIZE,
11            inner_print: DEFAULT_INNER_PRINT,
12            inner_log: DEFAULT_INNER_LOG,
13        }
14    }
15}