mongodb

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mongo

type Mongo struct {
	Client        *mongo.Client
	Host          string
	Port          int
	User          string
	Password      string
	DB            string
	Collection    string
	RetrieveQuery *string
	ClearQuery    *string
	FailQuery     *string
	Key           *string
}

func (*Mongo) Cleanup

func (d *Mongo) Cleanup() error

func (*Mongo) ClearWork

func (d *Mongo) ClearWork() error

func (*Mongo) GetWork

func (d *Mongo) GetWork() (io.Reader, error)

func (*Mongo) HandleFailure

func (d *Mongo) HandleFailure() error

func (*Mongo) Init

func (d *Mongo) Init() error

func (*Mongo) LoadEnv

func (d *Mongo) LoadEnv(prefix string) error

func (*Mongo) LoadFlags

func (d *Mongo) LoadFlags() error

Jump to

Keyboard shortcuts

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