Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConnectTimeout int `yaml:"connectTimeout"` DbName string `yaml:"dbName"` Hosts []string `yaml:"hosts"` Password string `yaml:"password"` PoolSize int `yaml:"poolSize"` ReadConcern string `yaml:"readConcern"` ReadPreference string `yaml:"readPreference"` SocketTimeout int `yaml:"socketTimeout"` Uri string `yaml:"uri"` Username string `yaml:"username"` WriteConcern string `yaml:"writeConcern"` }
func (*Config) MongoDatabase ¶
Click to show internal directories.
Click to hide internal directories.