Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoClient *mongo.Client
Functions ¶
This section is empty.
Types ¶
type MongoHook ¶
type MongoHook struct {
MongoCollection *mongo.Collection
}
func NewAuthMongoHook ¶
func NewAuthMongoHook(mongoUrl, db, collection string, auth options.Credential) (*MongoHook, error)
func NewMongoHook ¶
Click to show internal directories.
Click to hide internal directories.