Documentation
¶
Index ¶
- func NewCache[T any]() cache.Cache[T]
- type Cache
- func (*Cache[T]) Delete(context.Context, string) error
- func (*Cache[T]) Get(context.Context, string) (*T, error)
- func (*Cache[T]) GetMany(context.Context, []string) (map[string]*T, error)
- func (*Cache[T]) Ping(context.Context) error
- func (*Cache[T]) Set(context.Context, string, *T) error
- func (*Cache[T]) SetMany(context.Context, map[string]*T) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.