Documentation
¶
Index ¶
- type Cache
- func (c *Cache[T]) Delete(ctx context.Context, key any) error
- func (c *Cache[T]) Get(ctx context.Context, key any) (T, error)
- func (c *Cache[T]) Set(ctx context.Context, key any, object T) error
- func (c *Cache[T]) SetWithExpiration(ctx context.Context, key any, object T, expiration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.