cockroach

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 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 CockroachDB

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

func (*CockroachDB) Cleanup

func (d *CockroachDB) Cleanup() error

func (*CockroachDB) ClearWork

func (d *CockroachDB) ClearWork() error

func (*CockroachDB) GetWork

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

func (*CockroachDB) HandleFailure

func (d *CockroachDB) HandleFailure() error

func (*CockroachDB) Init

func (d *CockroachDB) Init() error

func (*CockroachDB) LoadEnv

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

func (*CockroachDB) LoadFlags

func (d *CockroachDB) LoadFlags() error

Jump to

Keyboard shortcuts

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