db

package
v0.0.0-...-badf2f2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeMongoDB type of mongodb
	TypeMongoDB = "mongodb"
	// TypeMySQL type of mysql
	TypeMySQL = "mysql"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Connections

type Connections struct {
	Type    string
	MongoDB *mongo.Client
}

Connections all types of database connections

func (*Connections) Close

func (c *Connections) Close() error

Close all underlying connections

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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