Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct { Port string `yaml:"http-port"` Name string `yaml:"name"` Description string `yaml:"description"` }
Application application config
type DatabaseConfig ¶
type DatabaseConfig struct { DBName string `yaml:"dbname"` Username string `yaml:"user"` Password string `yaml:"password"` Location string `yaml:"location"` Port string `yaml:"port"` LogPath string `yaml:"logPath"` }
DatabaseConfig database config
type LogConfig ¶
type LogConfig struct { Location string `yaml:"location"` Level string `yaml:"level"` MaxBackups int `yaml:"maxbackups"` MaxAge int `yaml:"maxage"` }
LogConfig log config
type MyAppConfig ¶
type MyAppConfig struct { Database DatabaseConfig `yaml:"database"` Log LogConfig `yaml:"log"` Application Application `yaml:"application"` }
MyAppConfig config
Click to show internal directories.
Click to hide internal directories.