Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Delete(key string) error Get(key string, obj interface{}) error Set(key string, obj interface{}, timeout time.Duration) error Close() error }
func NewRedisCache ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func (*RedisCache) Close ¶
func (c *RedisCache) Close() error
func (*RedisCache) Delete ¶
func (c *RedisCache) Delete(key string) error
func (*RedisCache) Get ¶
func (c *RedisCache) Get(key string, obj interface{}) error
Click to show internal directories.
Click to hide internal directories.