Documentation
¶
Overview ¶
Package redis provides a Storage backend for relyq
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisStorage ¶
type RedisStorage struct {
// contains filtered or unexported fields
}
func New ¶
func New(marshaller marshallers.Marshaller, pool *redis.Pool, prefix, delim string) *RedisStorage
func (*RedisStorage) Close ¶
func (rs *RedisStorage) Close() error
func (*RedisStorage) Del ¶
func (rs *RedisStorage) Del(id []byte) error
func (*RedisStorage) Get ¶
func (rs *RedisStorage) Get(id []byte, obj interface{}) error
func (*RedisStorage) Set ¶
func (rs *RedisStorage) Set(obj interface{}, id []byte) error
Click to show internal directories.
Click to hide internal directories.