Documentation
¶
Index ¶
- func NewNoOpKeyValueCache[T any]() *noOpKeyValueCache[T]
- func NewNoOpParamsCache[T any]() *noOpParamsCache[T]
- func NewParamsCache[T any](opts ...memory.KeyValueCacheOptionFn) (*paramsCache[T], error)
- func WithNewBlockCacheClearing[C Cache](ctx context.Context, deps depinject.Config, cache C) error
- type Cache
- type CacheOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNoOpKeyValueCache ¶
func NewNoOpKeyValueCache[T any]() *noOpKeyValueCache[T]
NewKeyValueCache returns a new instance of a KeyValueCache.
func NewNoOpParamsCache ¶
func NewNoOpParamsCache[T any]() *noOpParamsCache[T]
NewParamsCache returns a new instance of a ParamsCache.
func NewParamsCache ¶
func NewParamsCache[T any](opts ...memory.KeyValueCacheOptionFn) (*paramsCache[T], error)
NewParamsCache returns a new instance of a ParamsCache.
Types ¶
Click to show internal directories.
Click to hide internal directories.