redigo

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 RedigoConn

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

func (*RedigoConn) Close

func (self *RedigoConn) Close() error

func (*RedigoConn) Eval

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

func (*RedigoConn) Get

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

func (*RedigoConn) PTTL

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

func (*RedigoConn) Set

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

func (*RedigoConn) SetNX

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

type RedigoPool

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

func NewRedigoPool

func NewRedigoPool(delegate *redis.Pool) *RedigoPool

func (*RedigoPool) Get

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

Jump to

Keyboard shortcuts

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