Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheService ¶
type CacheService struct {
// contains filtered or unexported fields
}
CacheService implements chronicle.CacheService interface using redis
func NewCacheService ¶
func NewCacheService(redisClient *redis.Client) *CacheService
NewCacheService construct a new CacheService from redis client
func (CacheService) Get ¶
func (c CacheService) Get(key string) (result []byte, err error)
Get a cache in bytes from a key
Click to show internal directories.
Click to hide internal directories.