Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigDocs ¶
func ConfigDocs() docs.FieldSpecs
ConfigDocs returns a documentation field spec for fields within a Config.
Types ¶
type Config ¶
type Config struct { URL string `json:"url" yaml:"url"` Database string `json:"database" yaml:"database"` Collection string `json:"collection" yaml:"collection"` Username string `json:"username" yaml:"username"` Password string `json:"password" yaml:"password"` }
Config is a config struct for a mongo connection
type WriteConcern ¶
Click to show internal directories.
Click to hide internal directories.