Documentation
¶
Index ¶
Constants ¶
View Source
const RootPathMark = "$(root)"
RootPathMark this char represent executable dir
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Application struct { Port int `yaml:"port"` } `yaml:"application"` Logger struct { Level string `yaml:"level"` Path string `yaml:"path"` } `yaml:"logger"` Database struct { Type string `yaml:"type"` File string `yaml:"file"` } `yaml:"database"` Runtime struct { DefaultUser string `yaml:"default_user"` } `yaml:"runtime"` }
func LoadDefaultConfig ¶
func LoadDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.