Skip to main content

systemprompt_api/models/
mod.rs

1#[derive(Debug, Clone)]
2pub struct ServerConfig {
3    pub host: String,
4    pub port: u16,
5}
6
7impl Default for ServerConfig {
8    fn default() -> Self {
9        Self {
10            host: "0.0.0.0".to_string(),
11            port: 8080,
12        }
13    }
14}