Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFound = errors.New("not found")
Functions ¶
func IsNotFound ¶
Types ¶
type InMemoryCache ¶
type InMemoryCache struct {
// contains filtered or unexported fields
}
InMemoryCache implements the cache.Cache interface for testing
func NewInMemoryCache ¶
func NewInMemoryCache() *InMemoryCache
func (*InMemoryCache) Delete ¶
func (m *InMemoryCache) Delete(ctx context.Context, key string) error
Click to show internal directories.
Click to hide internal directories.