api

package
v0.0.0-...-c298ef9 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbTester

type DbTester interface {
	Connect(DbTesterOptions) error
	GetQueryMarkers(length int) string
	Query(string, ...interface{}) error
	QueryRows(string, string, ...interface{}) ([]string, error)
	Shutdown() error
}

type DbTesterOptions

type DbTesterOptions struct {
	ConnectionType string
	DatabaseName   string
	Debug          bool
	Host           string
	Password       string
	Port           string
	SslMode        string
	Socket         string
	Username       string
}

type DriverManager

type DriverManager interface {
	GetName() string
	RunSingleTest() (time.Duration, error)
	RotatePassword(string) error
	Shutdown() error
}

Jump to

Keyboard shortcuts

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