Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCacheStore ¶
type RedisCacheStore struct {
// contains filtered or unexported fields
}
RedisCacheStore based redis implement cache store
func (*RedisCacheStore) Contains ¶
func (rc *RedisCacheStore) Contains(key string) bool
Contains check key existed in redis cache store
func (*RedisCacheStore) Delete ¶
func (rc *RedisCacheStore) Delete(key string)
Delete delete key value in redis cache store
func (*RedisCacheStore) Get ¶
func (rc *RedisCacheStore) Get(key string) (val interface{}, ok bool)
Get get value from redis cache store
func (*RedisCacheStore) Set ¶
func (rc *RedisCacheStore) Set(key string, val interface{}) (ok bool)
Set add or update key value
Click to show internal directories.
Click to hide internal directories.