mongo

package
v0.0.0-...-52b781a Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoClient

type MongoClient struct {
	LatencyChan    chan *time.Duration
	ErrLatencyChan chan *time.Duration

	Addr       string
	Password   string
	DB         string
	Client     *mgo.Session
	Complexity int
	// contains filtered or unexported fields
}

func (*MongoClient) Close

func (mc *MongoClient) Close()

func (*MongoClient) Exec

func (mc *MongoClient) Exec() error

func (*MongoClient) Get

func (mc *MongoClient) Get()

func (*MongoClient) InitClient

func (mc *MongoClient) InitClient()

func (*MongoClient) IsReady

func (mc *MongoClient) IsReady() bool

func (*MongoClient) Property

func (mc *MongoClient) Property()

Jump to

Keyboard shortcuts

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