2024-02-18 18:50:22 +00:00
|
|
|
class ServerConfig {
|
2024-03-28 02:19:15 +00:00
|
|
|
host: String
|
|
|
|
port: UInt16
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/// Set to a user and a group to drop privileges to after binding to the port
|
|
|
|
class PermissionsConfig {
|
2024-03-28 02:19:15 +00:00
|
|
|
user: String
|
|
|
|
group: String
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class LoggingConfig {
|
2024-03-28 02:19:15 +00:00
|
|
|
level: "TRACE"|"DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL"
|
|
|
|
file: String
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|