mysql

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NameMySQL      = "mysql"
	MySQLIntType   = "BIGINT"
	MySQLFloatType = "FLOAT"
	MySQLBoolType  = "BOOLEAN"
)

NameMySQL MySQL output name

Variables

This section is empty.

Functions

func NewMySQLOutput

func NewMySQLOutput(logger *zap.Logger, cfg *config.Config, outCfg *config.Output) (outputs.Output, error)

NewMySQLOutput return a new MySQL tester instance

Types

type MySQL

type MySQL struct {
	outputs.Output
	// contains filtered or unexported fields
}

MySQL MySQL tester structure

func (MySQL) Close

func (m MySQL) Close() error

Close closes all MySQL connections

func (MySQL) Do

func (m MySQL) Do(data outputs.Data) error

Do make MySQL outputs

func (MySQL) OutputFiles

func (m MySQL) OutputFiles() []string

OutputFiles return a list of output files

Jump to

Keyboard shortcuts

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