common/config/lib/common.pkl

16 lines
241 B
Text
Raw Normal View History

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: String
file: String
}