Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Scheme string Username string Password string ClusterName string ServerEndpoint string Client *mongo.Client DBName string }
func (*Connection) Connect ¶
func (c *Connection) Connect() *Connection
func (*Connection) Disconnect ¶
func (c *Connection) Disconnect() bool
func (*Connection) InsertNewTask ¶
func (c *Connection) InsertNewTask(myTask Task) error
func (*Connection) PingDB ¶
func (c *Connection) PingDB() bool
Click to show internal directories.
Click to hide internal directories.