Help us shape the future of Go! Take the 2026 Go Developer Survey

mongo

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 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 Mongodb

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

func (*Mongodb) Check

func (m *Mongodb) Check() error

func (*Mongodb) Close

func (m *Mongodb) Close()

func (*Mongodb) GetConnection

func (m *Mongodb) GetConnection(dbName ...string) (*mgo.Database, error)

func (*Mongodb) Init

func (m *Mongodb) Init(mongodbConfigData []byte)

func (*Mongodb) IsMultiDB

func (m *Mongodb) IsMultiDB() bool

func (*Mongodb) ListConnNames

func (m *Mongodb) ListConnNames() []string

func (*Mongodb) ReturnConnection

func (m *Mongodb) ReturnConnection(conn *mgo.Database)

Jump to

Keyboard shortcuts

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