Versions in this module Expand all Collapse all v0 v0.0.12 Jul 31, 2025 v0.0.11 Jul 31, 2025 Changes in this version + var NotFound = errors.New("not found") + func IsNotFound(err error) bool + type Cache interface + Delete func(ctx context.Context, key string) error + Get func(ctx context.Context, key string) ([]byte, error) + Set func(ctx context.Context, key string, value []byte) error + type InMemoryCache struct + func NewInMemoryCache() *InMemoryCache + func (m *InMemoryCache) Delete(ctx context.Context, key string) error + func (m *InMemoryCache) Get(ctx context.Context, key string) ([]byte, error) + func (m *InMemoryCache) Set(ctx context.Context, key string, value []byte) error