Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultViperOptions ¶
func SetDefaultViperOptions() error
Types ¶
type Config ¶
type Config struct { Scheme string `mapstructure:"scheme"` User string `mapstructure:"user"` Password string `mapstructure:"password"` Host string `mapstructure:"host"` Port uint16 `mapstructure:"port"` Database string `mapstructure:"database"` UseTLSClientAuth bool `mapstructure:"use_tls_client_auth"` CAPath string `mapstructure:"ca_path"` CertPath string `mapstructure:"cert_path"` KeyPath string `mapstructure:"key_path"` ConnTimeout time.Duration `mapstructure:"conn_timeout"` InsecureSkipVerify bool `mapstructure:"insecure_skip_verify"` }
Click to show internal directories.
Click to hide internal directories.