README ¶ mongo-go A go module to handle connections with a mongoDB cluster Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func AddFieldIndex(collection *mongo.Collection, field string) (string, error) func Connect(context context.Context, uri string) (*mongo.Client, error) func Disconnect(context context.Context, client *mongo.Client) func Ping(client *mongo.Client) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddFieldIndex ¶ added in v0.3.0 func AddFieldIndex(collection *mongo.Collection, field string) (string, error) func Connect ¶ added in v0.2.0 func Connect(context context.Context, uri string) (*mongo.Client, error) func Disconnect ¶ added in v0.2.0 func Disconnect(context context.Context, client *mongo.Client) func Ping ¶ added in v0.2.2 func Ping(client *mongo.Client) Types ¶ This section is empty. Source Files ¶ View all Source files mongo.go Click to show internal directories. Click to hide internal directories.