Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { User string `yaml:"user"` Port string `yaml:"port"` DBName string `yaml:"dbname"` Password string `yaml:"password"` Host string `yaml:"host"` Driver string `yaml:"driver"` SSLMode string `yaml:"sslMode"` MaxOpenConns int `yaml:"max_open_conns"` ConnMaxLifetime time.Duration `yaml:"conn_max_lifetime"` MaxIdleConns int `yaml:"max_idle_conns"` ConnMaxIdleTime time.Duration `yaml:"conn_max_idle_time"` }
Click to show internal directories.
Click to hide internal directories.