Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MemoryCache ¶
type MemoryCache struct {
// contains filtered or unexported fields
}
MemoryCache wraps otter for type-safe in-memory caching.
func (*MemoryCache) Clear ¶
func (mc *MemoryCache) Clear()
func (*MemoryCache) Delete ¶
func (mc *MemoryCache) Delete(key string)
func (*MemoryCache) Set ¶
func (mc *MemoryCache) Set(key string, value any)
Click to show internal directories.
Click to hide internal directories.