Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MgoOpt ¶
type MgoOpt struct { Addr []string `json:"addr" yaml:"addr"` // mongo addr Port string `json:"port" yaml:"port"` MaxConnIdleTime *uint64 `json:"max_conn_idle_time" yaml:"max_conn_idle_time"` MaxPoolSize *uint64 `json:"max_pool_size" yaml:"max_pool_size"` MinPoolSize *uint64 `json:"min_pool_size" yaml:"min_pool_size"` ConnectTimeout *uint64 `json:"connect_timeout" yaml:"connect_timeout"` Username string `json:"username" yaml:"username"` Password string `json:"password" yaml:"password"` }
Click to show internal directories.
Click to hide internal directories.