dockertest

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToTestMySQL

func ConnectToTestMySQL() (*sqlx.DB, error)

func ConnectToTestPostgreSQL

func ConnectToTestPostgreSQL() (*sqlx.DB, error)

func KillAllTestDatabases

func KillAllTestDatabases()

func Parallel

func Parallel(fs []func())

Types

type OnExit

type OnExit struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewOnExit

func NewOnExit() *OnExit

func Register

func Register() *OnExit

func (*OnExit) Add

func (at *OnExit) Add(f func())

func (*OnExit) Exit

func (at *OnExit) Exit(status int)

Jump to

Keyboard shortcuts

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