testing

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenTestPoolLibPQ

func OpenTestPoolLibPQ(t testing.TB) adapter.ConnPool

OpenTestPoolLibPQ opens connections pool user in testing

func OpenTestPoolMaxConnsLibPQ

func OpenTestPoolMaxConnsLibPQ(t testing.TB, maxConnections int, schema string) adapter.ConnPool

OpenTestPoolMaxConnsLibPQ opens connections pool user in testing

func OpenTestPoolMaxConnsPGXv3

func OpenTestPoolMaxConnsPGXv3(t testing.TB, maxConnections int, schema string) adapter.ConnPool

OpenTestPoolMaxConnsPGXv3 opens connections pool user in testing

func OpenTestPoolMaxConnsPGXv4

func OpenTestPoolMaxConnsPGXv4(t testing.TB, maxConnections int32, schema string) adapter.ConnPool

OpenTestPoolMaxConnsPGXv4 opens connections pool user in testing

func OpenTestPoolPGXv3

func OpenTestPoolPGXv3(t testing.TB) adapter.ConnPool

OpenTestPoolPGXv3 opens connections pool user in testing

func OpenTestPoolPGXv4

func OpenTestPoolPGXv4(t testing.TB) adapter.ConnPool

OpenTestPoolPGXv4 opens connections pool user in testing

Types

type TemplateContext

type TemplateContext struct {
	// Schema is database schema name.
	Schema string
}

TemplateContext is data passed to GO template Execute call.

Jump to

Keyboard shortcuts

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