Documentation ¶
Index ¶
- type Cache
- type InternalError
- type KeyError
- type RedisCache
- func (r *RedisCache) Del(key string) error
- func (r *RedisCache) Exists(keys ...string) (int, error)
- func (r *RedisCache) Get(key string) (string, error)
- func (r *RedisCache) GetDel(key string) (string, error)
- func (r *RedisCache) SAdd(set string, elem string) error
- func (r *RedisCache) SIsmember(set string, elem string) (bool, error)
- func (r *RedisCache) Set(key string, value string, expiration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalError ¶
type InternalError struct{}
func (*InternalError) Error ¶
func (e *InternalError) Error() string
Click to show internal directories.
Click to hide internal directories.