Documentation ¶ Index ¶ type A type D type DocElem type E type M type MgoClient func New(opts ...Option) *MgoClient func (c *MgoClient) DbCollection() *mongo.Collection type Option func Addr(addr string) Option func Collection(cl string) Option func Database(db string) Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type A ¶ type A []interface{} type D ¶ type D []DocElem type DocElem ¶ type DocElem struct { Name string Value interface{} } type E ¶ type E DocElem type M ¶ type M map[string]interface{} type MgoClient ¶ type MgoClient struct { *mongo.Client // contains filtered or unexported fields } func New ¶ func New(opts ...Option) *MgoClient func (*MgoClient) DbCollection ¶ func (c *MgoClient) DbCollection() *mongo.Collection type Option ¶ type Option func(client *MgoClient) func Addr ¶ func Addr(addr string) Option func Collection ¶ func Collection(cl string) Option func Database ¶ func Database(db string) Option Source Files ¶ View all Source files bson.go client.go Directories ¶ Show internal Expand all Path Synopsis options Click to show internal directories. Click to hide internal directories.