redis

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	Client *redis.Client
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(id int, options GeneratorOptions, ctx context.Context, requestrate int, s *stats.Stats) *Generator

func (*Generator) Finish

func (r *Generator) Finish() error

func (*Generator) Init

func (r *Generator) Init() error

func (*Generator) InitDone

func (r *Generator) InitDone() error

func (*Generator) Open

func (r *Generator) Open() *redis.Client

func (*Generator) Tick

func (r *Generator) Tick() error

type GeneratorOptions

type GeneratorOptions struct {
	Target   string
	Password string
	Username string
	Database int
	Cmd      string
	Args     []string
}

func NewOptions

func NewOptions() *GeneratorOptions

Jump to

Keyboard shortcuts

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