Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
Mongo is responsible for representing a mongo instance and all methods that it implements
func OpenClientConnection ¶
OpenClientConnection opens a new mongo connection using the given uri, in addition it also pings the new connection.
func (*Mongo) DeleteUser ¶
DeleteUser deletes a user based on a UUID
func (*Mongo) InsertUser ¶
InsertUser inserts new user to users collection
Click to show internal directories.
Click to hide internal directories.