Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v2.1.0
type Option func(opt *Options)
func SSLEnabled ¶ added in v2.1.0
func VerifyPeer ¶ added in v2.1.0
type Options ¶ added in v2.1.0
type Options struct { URI string `yaml:"uri"` PoolSize int `yaml:"poolSize"` SSLEnabled bool `yaml:"sslEnabled"` RootCA string `yaml:"rootCAFile"` Timeout string `yaml:"timeout"` VerifyPeer bool `yaml:"verifyPeer"` CertFile string `yaml:"certFile"` KeyFile string `yaml:"keyFile"` }
Options is yaml file struct to set db config
Click to show internal directories.
Click to hide internal directories.