Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize()
Types ¶
type Config ¶
type Config struct { Server struct { Port string `yaml:"port", envconfig:"SERVER_PORT"` Host string `yaml:"host", envconfig:"SERVER_HOST"` } `yaml:"server"` Database struct { Username string `yaml:"user", envconfig:"DB_USERNAME"` Password string `yaml:"pass", envconfig:"DB_PASSWORD"` } `yaml:"database"` }
var Conf Config
Click to show internal directories.
Click to hide internal directories.