Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cacher ¶
type MemoryCache ¶
type MemoryCache struct {
// contains filtered or unexported fields
}
func NewMemoryCache ¶
func NewMemoryCache(size int) *MemoryCache
func (*MemoryCache) Delete ¶
func (m *MemoryCache) Delete(keys ...string) error
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func NewRedisCache ¶
func NewRedisCache(ctx context.Context, client *redis.Client) *RedisCache
func (*RedisCache) Delete ¶
func (r *RedisCache) Delete(keys ...string) error
Click to show internal directories.
Click to hide internal directories.