Init
This commit is contained in:
commit
5e19a4e603
8 changed files with 93 additions and 0 deletions
15
lib/common.pkl
Normal file
15
lib/common.pkl
Normal 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
|
||||
}
|
||||
Loading…
Reference in a new issue