Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheManager ¶
func NewManager ¶
func NewManager[T any](fetcher Fetcher[T]) CacheManager[T]
type CacheManagerImpl ¶
type CacheManagerImpl[T any] struct { // contains filtered or unexported fields }
func (*CacheManagerImpl[T]) Get ¶
func (c *CacheManagerImpl[T]) Get(key Key) (T, error)
Click to show internal directories.
Click to hide internal directories.