Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { Environment string `yaml:"environment"` Username string `yaml:"username"` Password string `yaml:"password"` Host string `yaml:"host"` Port string `yaml:"port"` AuthDatabase string `yaml:"authdatabase"` Tls bool `yaml:"tls"` Protocol string `yaml:"protocol"` AuthMechanism string `yaml:"authmechanism"` ReadPreference string `yaml:"readpreference"` DirectConnection bool `yaml:"directbection"` Debug bool `yaml:"debug"` }
Connection, Databases access data
func (*Base) GetClientOpt ¶
func (b *Base) GetClientOpt(debug bool) *options.ClientOptions
Click to show internal directories.
Click to hide internal directories.