redis

package
v0.0.0-...-f1b76ca Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNil = redis.ErrNil

Functions

func Pclose

func Pclose()

func Pinit

func Pinit()

Types

type RedisCli

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

func Pconnect

func Pconnect(db int) (conn *RedisCli)

func (*RedisCli) Close

func (redisCli *RedisCli) Close()

func (*RedisCli) GetValue

func (redisCli *RedisCli) GetValue(key string) (string, error)

func (*RedisCli) HappendValue

func (redisCli *RedisCli) HappendValue(hash string, key string, value string) error

func (*RedisCli) HgetAll

func (redisCli *RedisCli) HgetAll(hash string) (map[string]string, error)

func (*RedisCli) HgetValue

func (redisCli *RedisCli) HgetValue(hash string, key string) (string, error)

func (*RedisCli) HsetValue

func (redisCli *RedisCli) HsetValue(hash string, key string, value string) error

func (*RedisCli) SetValue

func (redisCli *RedisCli) SetValue(key string, value string, expiration ...interface{}) error

type RedisPool

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

Jump to

Keyboard shortcuts

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