Documentation ¶
Overview ¶
Package mongo provides a simple wrapper around 3rd party mongo client.
Index ¶
Constants ¶
View Source
const ( // User is the username to use for authentication User = "root" // Pass is the password to use for authentication Pass = "password" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client is a wrapper around the mongo client
func (*Client) DeleteDatabases ¶
DeleteDatabases deletes all databases except the default ones
Click to show internal directories.
Click to hide internal directories.