mongo

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 10 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