dir_dumper

package
v0.0.0-...-9f91e3f Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirDumper

type DirDumper struct {
	// contains filtered or unexported fields
}

func NewDirDumper

func NewDirDumper(dir string, config table_dumper.Config) *DirDumper

func (*DirDumper) Connect

func (d *DirDumper) Connect(dsn string) *DirDumper

func (*DirDumper) Dump

func (d *DirDumper) Dump(tableName interface{})

func (DirDumper) PrintStats

func (d DirDumper) PrintStats(streams int, totalDuration time.Duration)

func (*DirDumper) RunAfter

func (d *DirDumper) RunAfter(cmd string) *DirDumper

func (*DirDumper) WithHeader

func (d *DirDumper) WithHeader(withHeader bool) *DirDumper

type DumpResult

type DumpResult interface {
	Rows() int
	Bytes() int
	Duration() time.Duration
}

Jump to

Keyboard shortcuts

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