Documentation ¶
Index ¶
- type GoredisConn
- func (self *GoredisConn) Close() error
- func (self *GoredisConn) Eval(ctx context.Context, script *redsyncredis.Script, keysAndArgs ...interface{}) (interface{}, error)
- func (self *GoredisConn) Get(ctx context.Context, name string) (string, error)
- func (self *GoredisConn) PTTL(ctx context.Context, name string) (time.Duration, error)
- func (self *GoredisConn) Set(ctx context.Context, name string, value string) (bool, error)
- func (self *GoredisConn) SetNX(ctx context.Context, name string, value string, expiry time.Duration) (bool, error)
- type GoredisPool
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(ctx context.Context, script *redsyncredis.Script, keysAndArgs ...interface{}) (interface{}, 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
Click to show internal directories.
Click to hide internal directories.