POC in Rust get db from websocket
This commit is contained in:
@@ -12,8 +12,7 @@ pub struct Config {
|
||||
pub SAVING_INTERVAL: u64,
|
||||
pub STATION_ID: usize,
|
||||
pub HOST: String,
|
||||
pub LOGIN: String,
|
||||
pub PASSWORD: String,
|
||||
pub WSS_HOST: String,
|
||||
}
|
||||
|
||||
fn read_config_from_file<P: AsRef<Path>>(path: P) -> Result<Config, Box<dyn Error>> {
|
||||
|
||||
Reference in New Issue
Block a user