aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index 4b333fe..2e9c1eb 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -6,7 +6,7 @@ use crate::auth;
6#[derive(Debug, Clone, Deserialize)] 6#[derive(Debug, Clone, Deserialize)]
7#[serde(default)] 7#[serde(default)]
8pub struct Config { 8pub struct Config {
9 pub serveraddr: String, 9 pub addr: String,
10 pub pingtimeout: i64, 10 pub pingtimeout: i64,
11 pub pingthreshold: u64, 11 pub pingthreshold: u64,
12 pub auth: Auth, 12 pub auth: Auth,
@@ -15,7 +15,7 @@ pub struct Config {
15impl Default for Config { 15impl Default for Config {
16 fn default() -> Self { 16 fn default() -> Self {
17 Self { 17 Self {
18 serveraddr: "0.0.0.0:7229".to_string(), 18 addr: "0.0.0.0:7229".to_string(),
19 pingtimeout: 10, 19 pingtimeout: 10,
20 pingthreshold: 1, 20 pingthreshold: 1,
21 auth: Default::default(), 21 auth: Default::default(),