Refactor project and add pkldoc

This commit is contained in:
Tobias Reisinger 2026-07-19 17:38:38 +02:00
commit 6c75b0ab72
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
10 changed files with 36 additions and 10 deletions

17
emgauwa/common.pkl Normal file
View file

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