MCPcopy Create free account
hub / github.com/619dev/minghe / AppConfig

Class AppConfig

src/config.rs:11–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9/// 应用程序顶层配置
10#[derive(Debug, Clone, Deserialize)]
11pub struct AppConfig {
12 /// SIP 服务器配置
13 pub server: ServerConfig,
14 /// 分机配置
15 pub extensions: ExtensionConfig,
16 /// TLS 证书配置
17 pub tls: TlsConfig,
18 /// 媒体中继配置
19 pub media: MediaConfig,
20 /// 分机独立密码(可选,覆盖 default_password)
21 #[serde(default)]
22 pub passwords: HashMap<String, String>,
23}
24
25/// SIP 服务器基本配置
26#[derive(Debug, Clone, Deserialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected