Documentation
¶
Index ¶
- type Cache
- func (c *Cache) ComputeIfAbsent(key string, f func()) bool
- func (c *Cache) Get(key string) (any, bool)
- func (c *Cache) Init(context context.Context, config config2.IConfig) error
- func (c *Cache) Invalidate(key string) (any, bool)
- func (c *Cache) Set(key string, value any)
- func (c *Cache) SetIfAbsent(key string, value any) (any, bool)
- func (c *Cache) SetNX(key string, value any, expire time.Duration) (any, bool)
- func (c *Cache) Stats() stats.Stats
- type Config
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.