Documentation ¶
Index ¶
- type Cache
- func (handler *Cache) CacheDel(key string) error
- func (handler *Cache) CacheDelKey(key string) error
- func (handler *Cache) CacheDeletePattern(pattern string) error
- func (handler *Cache) CacheGet(key string) ([]byte, error)
- func (handler *Cache) CacheGetPattern(pattern string) ([]byte, []string, error)
- func (handler *Cache) CacheSet(key string, value []byte, expired string) error
- func (handler *Cache) DO(command string, args ...interface{}) (interface{}, error)
- func (handler *Cache) Ping() (string, error)
- type CacheInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { }
Cache ...
func (*Cache) CacheDeletePattern ¶
CacheDeletePattern ...
func (*Cache) CacheGetPattern ¶
CacheGetPattern ...
type CacheInterface ¶
type CacheInterface interface { Ping() (string, error) DO(command string, args ...interface{}) (interface{}, error) CacheSet(key string, value []byte) (interface{}, error) CacheGet(key string) ([]byte, error) CacheDel(key string) error CacheDelKey(key string) error CacheDeletePattern(key string) ([]byte, error) }
CacheInterface ...
Click to show internal directories.
Click to hide internal directories.