Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[T Cacheable] interface { Get(ctx context.Context, key string) (*T, error) Set(ctx context.Context, key string, value *T) error Delete(ctx context.Context, key string) error }
Cache is our wrapper interface for a cache.
type Cacheable ¶
type Cacheable interface { types.SessionContextData }
Click to show internal directories.
Click to hide internal directories.