move default_motd func to a better place

This commit is contained in:
minish 2023-12-07 13:33:19 -05:00
parent a315baa258
commit f5c67c64d7
Signed by: min
GPG Key ID: FEECFF24EF0CE9E9
1 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,10 @@ pub struct Config {
pub logger: LoggerConfig,
}
fn default_motd() -> String {
"breeze file server (v%version%) - currently hosting %uplcount% files".to_string()
}
#[derive(Deserialize)]
pub struct EngineConfig {
/// The url that the instance of breeze is meant to be accessed from.
@ -56,10 +60,6 @@ pub struct CacheConfig {
pub mem_capacity: usize,
}
fn default_motd() -> String {
"breeze file server (v%version%) - currently hosting %uplcount% files".to_string()
}
#[derive(Deserialize)]
pub struct HttpConfig {
pub listen_on: String,