Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string `envconfig:"HOST"` Port int `envconfig:"PORT"` User string `envconfig:"USER"` Password string `envconfig:"PASS"` DbName string `envconfig:"NAME"` DbDriver string `default:"pgx" envconfig:"DRIVER"` }
func LoadConfig ¶
func LoadConfig() *Config
func (Config) GetDataSourceName ¶
Click to show internal directories.
Click to hide internal directories.