Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Addr string `json:"addr,omitempty" description:"mongodb address"` Database string `json:"database,omitempty" description:"mongodb database"` Username string `json:"username,omitempty" description:"mongodb username"` Password string `json:"password,omitempty" description:"mongodb password"` }
func DefaultOptions ¶
func DefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.