Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Sections map[string]MySqlConfig
}
type MySqlConfig ¶
type MySqlConfig struct { User string `ini:"user"` Password string `ini:"password"` Host string `ini:"host"` Port int `ini:"port"` Socket string `ini:"socket"` SslCa string `ini:"ssl-ca"` SslCert string `ini:"ssl-cert"` SslKey string `ini:"ssl-key"` TlsInsecureSkipVerify bool `ini:"ssl-skip-verfication"` //nolint:misspell Tls string `ini:"tls"` }
func (MySqlConfig) CustomizeTLS ¶
func (m MySqlConfig) CustomizeTLS() error
type MySqlConfigHandler ¶
func (*MySqlConfigHandler) GetConfig ¶
func (ch *MySqlConfigHandler) GetConfig() *Config
func (*MySqlConfigHandler) ReloadConfig ¶
Click to show internal directories.
Click to hide internal directories.