This commit is contained in:
Tobias Reisinger 2024-04-30 01:45:08 +02:00
commit 5e19a4e603
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 93 additions and 0 deletions

15
lib/common.pkl Normal file
View file

@ -0,0 +1,15 @@
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
}