mongo

package
v0.58.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URI       string             `yaml:"uri"`
	Timeout   time.Duration      `yaml:"timeout"`
	Databases matcher.SimpleExpr `yaml:"databases"`
}

type Mongo

type Mongo struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *Mongo

func (*Mongo) Charts

func (m *Mongo) Charts() *module.Charts

func (*Mongo) Check

func (m *Mongo) Check() bool

func (*Mongo) Cleanup

func (m *Mongo) Cleanup()

func (*Mongo) Collect

func (m *Mongo) Collect() map[string]int64

func (*Mongo) Init

func (m *Mongo) Init() bool

Jump to

Keyboard shortcuts

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