scanner

package
v0.0.0-...-56f2d55 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyDump

type KeyDump struct {
	Key   string
	Value string
	Ttl   int
}

type RedisScanner

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

func NewScanner

func NewScanner(client radix.Client, options RedisScannerOpts, reporter *reporter.Reporter) *RedisScanner

func (*RedisScanner) GetDumpChannel

func (s *RedisScanner) GetDumpChannel() <-chan KeyDump

func (*RedisScanner) Start

func (s *RedisScanner) Start()

type RedisScannerOpts

type RedisScannerOpts struct {
	Pattern          string
	ScanCount        int
	PullRoutineCount int
}

Jump to

Keyboard shortcuts

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