mongodb

package
v0.0.0-...-7373874 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoDbConnection

type MongoDbConnection struct {
	// contains filtered or unexported fields
}

func NewMongoDbConnection

func NewMongoDbConnection(uri string, timeout time.Duration, log *log.NormalLogger) *MongoDbConnection

func (*MongoDbConnection) Connect

func (db *MongoDbConnection) Connect() error

func (*MongoDbConnection) Disconnect

func (db *MongoDbConnection) Disconnect() error

func (*MongoDbConnection) ListDatabaseNames

func (db *MongoDbConnection) ListDatabaseNames()

func (*MongoDbConnection) Ping

func (db *MongoDbConnection) Ping() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL