full_check

package
v0.0.0-...-5b294ad Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FullValue            = 1
	ValueLengthOutline   = 2
	KeyOutline           = 3
	FullValueWithOutline = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckType

type CheckType int

type FullCheck

type FullCheck struct {
	checker.FullCheckParameter
	// contains filtered or unexported fields
}

func NewFullCheck

func NewFullCheck(f checker.FullCheckParameter, checktype CheckType) *FullCheck

func (*FullCheck) CreateDbTable

func (p *FullCheck) CreateDbTable(times int)

func (*FullCheck) GetCurrentResultTable

func (p *FullCheck) GetCurrentResultTable() (key string, field string)

func (*FullCheck) GetLastResultTable

func (p *FullCheck) GetLastResultTable() (key string, field string)

func (*FullCheck) IncrScanStat

func (p *FullCheck) IncrScanStat(a int)

func (*FullCheck) PrintStat

func (p *FullCheck) PrintStat(finished bool)

func (*FullCheck) ScanFromDB

func (p *FullCheck) ScanFromDB(allKeys chan<- []*common.Key)

func (*FullCheck) ScanFromSourceRedis

func (p *FullCheck) ScanFromSourceRedis(allKeys chan<- []*common.Key)

func (*FullCheck) Start

func (p *FullCheck) Start()

func (*FullCheck) VerifyAllKeyInfo

func (p *FullCheck) VerifyAllKeyInfo(allKeys <-chan []*common.Key, conflictKey chan<- *common.Key)

func (*FullCheck) WriteConflictKey

func (p *FullCheck) WriteConflictKey(conflictKey <-chan *common.Key)

Jump to

Keyboard shortcuts

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