Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Host string Port uint Database string Username string Password string SearchPath string `mapstructure:"search_path"` SslMode string `mapstructure:"sslmode"` SslCert string `mapstructure:"sslcert"` SslKey string `mapstructure:"sslkey"` SslRootCert string `mapstructure:"sslrootcert"` ConnectTimeout uint `mapstructure:"connect_timeout"` ConnMaxLifetime int `mapstructure:"conn_max_lifetime"` MaxIdleConns int `mapstructure:"max_idle_conns"` MaxOpenConns int `mapstructure:"max_open_conns"` }
Click to show internal directories.
Click to hide internal directories.