X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=src%2Fconfig.rs;h=9b85549c2cf91c2e04bbb05952570cd056782e1f;hb=HEAD;hp=dd9b167a97981b23acf2f5f7dd291aa2f66824e5;hpb=1ad3f95830bca3017ca786d96c4b3e442a471231;p=stakingWatchdogWatchdog.git diff --git a/src/config.rs b/src/config.rs index dd9b167..9b85549 100644 --- a/src/config.rs +++ b/src/config.rs @@ -10,6 +10,7 @@ use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Deserialize, Serialize)] pub struct Config { pub staking_address: String, + pub smtp_relay_address: String, pub smtp_login: String, pub smtp_password: String, } @@ -18,6 +19,7 @@ impl Config { pub fn default() -> Self { Config { staking_address: "192.168.2.102:8739".to_string(), + smtp_relay_address: "mail.something.com".to_string(), smtp_login: "login".to_string(), smtp_password: "password".to_string(), }