Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Type ¶
type Type struct { Storage struct { DbPath string Engine string // default is "wiredTiger" vs "inMemory" WiredTiger struct { EngineConfig struct { CacheSizeGB float32 } } } SystemLog struct { Destination string // default is syslog if not specified, use "file" Path string // required if Destination = "file" TimeStampFormat string // default is "iso8601-local" vs "iso8601-utc" LogAppend bool // default is false Verbosity uint // default is zero } Security struct { Authorization string // default is "disabled" vs. "enabled" JavascriptEnabled bool `default:"true"` // default is true } Net struct { Port uint // default: 27017, 27018 if shard member, 27019 if CSRS member BindIp string // default is "127.0.0.1" Ipv6 bool // default is false UnixDomainSocket struct { Enabled bool `default:"true" omitwindows:"true"` // default is true } } ProcessManagement struct { Fork bool `omitwindows:"true"` } SetParameter struct { AuthenticationMechanisms string // default ? } }
var MongoDBDefaults *Type
Config struct with MongoDB defaults applied
var OurDefaults *Type
Config struct with our opinionated defaults enabled
Click to show internal directories.
Click to hide internal directories.