mongo

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRtries = errors.New("retries exceeded")
	ErrNoHost = errors.New("no input host provided")

	ErrLoginFailed = "Login failed for user"
)

Functions

This section is empty.

Types

type MONGO

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

func New

func New(host, port string, retries, timeout int) (*MONGO, error)

func (*MONGO) AuthRetries

func (mongo *MONGO) AuthRetries(user, password string) (err error)

Jump to

Keyboard shortcuts

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