feat: config initialization routines

This commit is contained in:
nihonium 2025-10-08 00:50:48 +03:00
parent 21e19fbc36
commit a5605262b3
Signed by untrusted user: nihonium
GPG key ID: 0251623741027CFC
7 changed files with 264 additions and 0 deletions

6
modules/server/types.go Normal file
View file

@ -0,0 +1,6 @@
package main
type Config struct {
Mode string
LogLevel string `toml:"LogLevel" env:"LOG_LEVEL"`
}