Documentation ¶ Index ¶ type Configuration func Load() (*Configuration, error) type DataBase type Server Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Configuration ¶ type Configuration struct { Server DataBase } func Load ¶ func Load() (*Configuration, error) type DataBase ¶ type DataBase struct { Type string `yaml:"type"` Host string `yaml:"host"` Port int `yaml:"port"` User string `yaml:"user"` Password string `yaml:"password"` Name string `yaml:"name"` } type Server ¶ type Server struct { Port string `yaml:"port"` } Source Files ¶ View all Source files loader.go Click to show internal directories. Click to hide internal directories.