redis

package
v0.0.0-...-491e088 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisCacheImpl

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

func (*RedisCacheImpl) Del

func (impl *RedisCacheImpl) Del(key string) error

func (*RedisCacheImpl) Dels

func (impl *RedisCacheImpl) Dels(keys []string) error

func (*RedisCacheImpl) Exists

func (impl *RedisCacheImpl) Exists(key string) (bool, error)

func (*RedisCacheImpl) Get

func (impl *RedisCacheImpl) Get(key string) ([]byte, error)

func (*RedisCacheImpl) HDel

func (impl *RedisCacheImpl) HDel(key string, fields ...[]byte) (int64, error)

func (*RedisCacheImpl) HExists

func (impl *RedisCacheImpl) HExists(key string, field []byte) (bool, error)

func (*RedisCacheImpl) HGetAll

func (impl *RedisCacheImpl) HGetAll(key string) ([][]byte, error)

func (*RedisCacheImpl) HMGet

func (impl *RedisCacheImpl) HMGet(key string, fields ...[]byte) ([][]byte, error)

func (*RedisCacheImpl) HMSet

func (impl *RedisCacheImpl) HMSet(key string, ttl int64, args ...[]byte) error

func (*RedisCacheImpl) HVals

func (impl *RedisCacheImpl) HVals(key string) ([][]byte, error)

func (*RedisCacheImpl) Initialize

func (impl *RedisCacheImpl) Initialize(cfg interface{})

func (*RedisCacheImpl) Keys

func (impl *RedisCacheImpl) Keys(keyFormat string) ([][]byte, error)

func (*RedisCacheImpl) SAdd

func (impl *RedisCacheImpl) SAdd(key string, ttl int64, members ...[]byte) error

func (*RedisCacheImpl) SCard

func (impl *RedisCacheImpl) SCard(key string) (int64, error)

func (*RedisCacheImpl) SIsMember

func (impl *RedisCacheImpl) SIsMember(key string, member []byte) (bool, error)

func (*RedisCacheImpl) SMembers

func (impl *RedisCacheImpl) SMembers(key string) ([][]byte, error)

func (*RedisCacheImpl) SRem

func (impl *RedisCacheImpl) SRem(key string, members ...[]byte) (int64, error)

func (*RedisCacheImpl) Set

func (impl *RedisCacheImpl) Set(key string, value []byte, ttl int64) error

func (*RedisCacheImpl) ZAdd

func (impl *RedisCacheImpl) ZAdd(key string, ttl int64, args ...[]byte) error

func (*RedisCacheImpl) ZRange

func (impl *RedisCacheImpl) ZRange(key string, start, stop int64, withScores bool) ([][]byte, error)

func (*RedisCacheImpl) ZRemRangeByScore

func (impl *RedisCacheImpl) ZRemRangeByScore(key string, start, stop int64) (int64, error)

Jump to

Keyboard shortcuts

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