Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { cache.Cache Exists(key string) (bool, error) SetOpt(key string, value interface{}, options SetOptions) (bool, error) Del(key string) error Incr(key string) (int64, error) }
func New ¶
func New(conf RedisConfig) Cache
type PubSub ¶
type PubSub interface { Cache PSubscribe(patterns []string) (SubChan, error) PUnsubscribe(sub SubChan) error Publish(key string, data []byte) error }
func NewPubSub ¶
func NewPubSub(conf RedisConfig) (PubSub, error)
type RedisConfig ¶
type SetOptions ¶
type TimeTracker ¶
Click to show internal directories.
Click to hide internal directories.