Documentation
¶
Index ¶
Constants ¶
View Source
const ( //FullInfoTTL ... FullInfoTTL = 3 * 24 * time.Hour //CachePrefix ... CachePrefix = "cache" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheInteface ¶
type CacheInteface interface {
Get(ctx context.Context, key string) (interface{}, error)
Set(ctx context.Context, key string, value interface{}) error
}
CacheInteface ...
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
RedisCache ...
Click to show internal directories.
Click to hide internal directories.