fix code position
This commit is contained in:
@@ -15,6 +15,12 @@ use tracing_subscriber::EnvFilter;
|
|||||||
mod admin_http;
|
mod admin_http;
|
||||||
use admin_http::AdminHttpConfig;
|
use admin_http::AdminHttpConfig;
|
||||||
|
|
||||||
|
mod syslog;
|
||||||
|
use syslog::SyslogConfig;
|
||||||
|
|
||||||
|
pub mod json;
|
||||||
|
use json::JsonConfig;
|
||||||
|
|
||||||
/// Handler for admin messages that don't match built-in commands.
|
/// Handler for admin messages that don't match built-in commands.
|
||||||
#[derive(Subcommands, Debug)]
|
#[derive(Subcommands, Debug)]
|
||||||
#[conf(serde)]
|
#[conf(serde)]
|
||||||
@@ -23,12 +29,6 @@ pub enum AdminHandlerCommand {
|
|||||||
AdminHttp(AdminHttpConfig),
|
AdminHttp(AdminHttpConfig),
|
||||||
}
|
}
|
||||||
|
|
||||||
mod syslog;
|
|
||||||
use syslog::SyslogConfig;
|
|
||||||
|
|
||||||
pub mod json;
|
|
||||||
use json::JsonConfig;
|
|
||||||
|
|
||||||
/// Top-level configuration for signal-gateway.
|
/// Top-level configuration for signal-gateway.
|
||||||
#[derive(Conf, Debug)]
|
#[derive(Conf, Debug)]
|
||||||
#[conf(serde, test)]
|
#[conf(serde, test)]
|
||||||
|
|||||||
Reference in New Issue
Block a user