16 lines
286 B
Text
16 lines
286 B
Text
|
class ServerConfig {
|
||
|
host: String
|
||
|
port: UInt16
|
||
|
}
|
||
|
|
||
|
/// Set to a user and a group to drop privileges to after binding to the port
|
||
|
class PermissionsConfig {
|
||
|
user: String
|
||
|
group: String
|
||
|
}
|
||
|
|
||
|
class LoggingConfig {
|
||
|
level: "TRACE"|"DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL"
|
||
|
file: String
|
||
|
}
|