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 `mapstructure:"host" default:"localhost"`
User string `mapstructure:"user" default:"postgres"`
Password string `mapstructure:"password" default:""`
Name string `mapstructure:"name" default:"postgres"`
Port string `mapstructure:"port" default:"5432"`
SslMode string `mapstructure:"sslmode" default:"disable"`
LogLevel string `mapstructure:"log_level" default:"info"`
}
Config for database connection
Click to show internal directories.
Click to hide internal directories.