mongo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() common.Caller

Types

type CallerCfg

type CallerCfg struct {
	Debug bool

	URL      string
	Database string
}

type Cfg

type Cfg struct {
	CallerMongo map[string]CallerCfg
}

type Client

type Client struct {
	*mgo.Database
}

func Caller

func Caller(name string) *Client

Jump to

Keyboard shortcuts

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