Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultConfig ¶
type DefaultConfig struct { Servers DefaultServers `json:"servers" yaml:"servers" toml:"servers"` Log DefaultLog `json:"log" yaml:"log" toml:"log"` Resources kothak.Config `json:"resources" yaml:"resources" toml:"resources"` }
DefaultConfig for the project
type DefaultLog ¶
type DefaultLog struct { Level string `json:"level" yaml:"level" toml:"level"` File string `json:"file" yaml:"file" toml:"file"` Color bool `json:"use_color" yaml:"use_color" toml:"use_color"` }
DefaultLog config for the project
type DefaultServers ¶
type DefaultServers struct { Main ServerConfig `json:"main" yaml:"main" toml:"main"` Debug ServerConfig `json:"debug" yaml:"debug" toml:"debug"` Admin ServerConfig `json:"admin" yaml:"admin" toml:"admin"` }
DefaultServers struct
type ServerConfig ¶
type ServerConfig struct {
Address string `yaml:"address" toml:"address"`
}
ServerConfig struct
Click to show internal directories.
Click to hide internal directories.