Refactor project and add pkldoc
This commit is contained in:
parent
1c9add29fa
commit
6c75b0ab72
10 changed files with 36 additions and 10 deletions
17
emgauwa/common.pkl
Normal file
17
emgauwa/common.pkl
Normal 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"
|
||||
}
|
||||
Loading…
Reference in a new issue