mirror of
https://github.com/nullishamy/ferri.git
synced 2025-06-28 00:54:17 +00:00
parent
918dcb60f9
commit
005c13e1d4
9 changed files with 43 additions and 14 deletions
11
ferri-main/src/config/mod.rs
Normal file
11
ferri-main/src/config/mod.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct ServerConfig {
|
||||
pub host: String,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct Config {
|
||||
pub server: ServerConfig,
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
pub mod ap;
|
||||
pub mod config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue