17 lines
310 B
Text
17 lines
310 B
Text
module emgauwa.common
|
|
|
|
class ServerConfig {
|
|
host: String
|
|
port: UInt16
|
|
token: String
|
|
}
|
|
|
|
/// 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"
|
|
}
|