mock

package
v0.0.0-...-ed9c6d1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

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

func NewConn

func NewConn() *Conn

func (*Conn) BLPop

func (c *Conn) BLPop(timeout time.Duration, keys ...string) ([]string, error)

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) HGetAll

func (c *Conn) HGetAll(key string) ([]string, error)

func (*Conn) HSetAll

func (c *Conn) HSetAll(key string, fields map[string]string) error

func (*Conn) Incr

func (c *Conn) Incr(key string) (int, error)

func (*Conn) RPush

func (c *Conn) RPush(key string, value ...string) (int, error)

func (*Conn) Subscribe

func (c *Conn) Subscribe(channel string) (<-chan string, error)

func (*Conn) ZAddNX

func (c *Conn) ZAddNX(key string, score float64, member string) (int, error)

func (*Conn) ZPopByScore

func (c *Conn) ZPopByScore(key string, min, max float64, minIncl, maxIncl bool, offset, count int) ([]string, error)

Jump to

Keyboard shortcuts

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