core/config/lib/common.pkl
Tobias Reisinger b2ff632e64
Improve config system
Add pkl to generate configs
2024-02-18 19:50:22 +01:00

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