db

package
v0.0.0-...-defb1f9 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDatabase

func GetDatabase() (*mgo.Database, func())

func GetMigrationQueue

func GetMigrationQueue() amboy.Queue

func GetQueue

func GetQueue() amboy.Queue

func GetSession

func GetSession() *mgo.Session

func SetDatabase

func SetDatabase(name string)

func SetMigrationQueue

func SetMigrationQueue(q amboy.Queue) error

func SetQueue

func SetQueue(q amboy.Queue) error

func SetSession

func SetSession(s *mgo.Session) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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