redis

package
v0.0.0-...-3dd48f3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

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

func New

func New(pid int) *Redis

func (*Redis) Count

func (r *Redis) Count() int64

func (*Redis) Init

func (r *Redis) Init(rowCount int) (err []error)

func (*Redis) PrintStats

func (r *Redis) PrintStats()

func (*Redis) Quota

func (r *Redis) Quota() uint64

func (*Redis) Read

func (r *Redis) Read(times int)

Jump to

Keyboard shortcuts

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