Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyDoesNotExist = errors.New("key does not exist")
Functions ¶
This section is empty.
Types ¶
type CacheRepository ¶
type CacheRepositoryImpl ¶
type CacheRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewCache ¶
func NewCache(client *redis.Client) *CacheRepositoryImpl
func (*CacheRepositoryImpl) Del ¶
func (c *CacheRepositoryImpl) Del(ctx context.Context, key string) error
Click to show internal directories.
Click to hide internal directories.