goredis

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoredisConn

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

func (*GoredisConn) Close

func (self *GoredisConn) Close() error

func (*GoredisConn) Eval

func (self *GoredisConn) Eval(script *redsyncredis.Script, keysAndArgs ...interface{}) (interface{}, error)

func (*GoredisConn) Get

func (self *GoredisConn) Get(name string) (string, error)

func (*GoredisConn) PTTL

func (self *GoredisConn) PTTL(name string) (time.Duration, error)

func (*GoredisConn) Set

func (self *GoredisConn) Set(name string, value string) (bool, error)

func (*GoredisConn) SetNX

func (self *GoredisConn) SetNX(name string, value string, expiry time.Duration) (bool, error)

type GoredisPool

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

func NewGoredisPool

func NewGoredisPool(delegate *redis.Client) *GoredisPool

func (*GoredisPool) Get

func (self *GoredisPool) Get() redsyncredis.Conn

Jump to

Keyboard shortcuts

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