mongo

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CollConnector = "connector"
View Source
var CollJob = "job"
View Source
var CollPlan = "plan"
View Source
var CollPolicy = "policy"
View Source
var DataBaseName = "multi-cloud"

Functions

func Exit

func Exit()

func Init

func Init(host string) *adapter

func TestClear

func TestClear() error

func UpdateContextFilter added in v0.6.3

func UpdateContextFilter(ctx context.Context, m bson.M) error

func UpdateFilter added in v0.6.3

func UpdateFilter(m bson.M, filter map[string]string) error

Types

type MyLock

type MyLock struct {
	LockObj  string    `bson:"lockobj"`
	LockTime time.Time `bson:"locktime"`
}

Jump to

Keyboard shortcuts

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