Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Del(ctx context.Context, key string) error
- func (c *Cache) Get(ctx context.Context, key string, target any) error
- func (c *Cache) Set(ctx context.Context, key string, value any, lifetime time.Duration) error
- func (c *Cache) TrySet(ctx context.Context, key string, value any, lifetime 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.