forked from nihonium/nyanimedb
feat: config initialization routines
This commit is contained in:
parent
21e19fbc36
commit
a5605262b3
7 changed files with 264 additions and 0 deletions
6
modules/server/types.go
Normal file
6
modules/server/types.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package main
|
||||
|
||||
type Config struct {
|
||||
Mode string
|
||||
LogLevel string `toml:"LogLevel" env:"LOG_LEVEL"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue