mysql

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mysql

type Mysql struct {
	Client        *sql.DB
	Host          string
	Port          int
	User          string
	Pass          string
	Db            string
	RetrieveField *string
	RetrieveQuery *schema.SqlQuery
	ClearQuery    *schema.SqlQuery
	FailQuery     *schema.SqlQuery
	// contains filtered or unexported fields
}

func (*Mysql) Cleanup

func (d *Mysql) Cleanup() error

func (*Mysql) ClearWork

func (d *Mysql) ClearWork() error

func (*Mysql) GetWork

func (d *Mysql) GetWork() (io.Reader, error)

func (*Mysql) HandleFailure

func (d *Mysql) HandleFailure() error

func (*Mysql) Init

func (d *Mysql) Init() error

func (*Mysql) LoadEnv

func (d *Mysql) LoadEnv(prefix string) error

func (*Mysql) LoadFlags

func (d *Mysql) LoadFlags() error

Jump to

Keyboard shortcuts

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