common/config/lib/common.pkl

16 lines
286 B
Text
Raw Normal View History

class ServerConfig {
2024-03-28 02:19:15 +00:00
host: String
port: UInt16
}
/// 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
}
class LoggingConfig {
2024-03-28 02:19:15 +00:00
level: "TRACE"|"DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL"
file: String
}