integrationtest

package
v0.0.0-...-de2618e Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBHost

type DBHost struct {
	Name string
	// contains filtered or unexported fields
}

func InitHost

func InitHost(name string) DBHost

InitHost returns a DBHost instance constructed from the given name

func NewDBHost

func NewDBHost(name string) DBHost

func (*DBHost) Close

func (dbHost *DBHost) Close()

func (*DBHost) Connect

func (dbHost *DBHost) Connect()

func (*DBHost) CreateDB

func (dbHost *DBHost) CreateDB(t *testing.T) TestDB

type TestDB

type TestDB struct {
	DB *sql.DB
	// contains filtered or unexported fields
}

func (*TestDB) Close

func (testDB *TestDB) Close()

Jump to

Keyboard shortcuts

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