Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryCache ¶
type InMemoryCache struct {
// contains filtered or unexported fields
}
InMemoryCache is a concurrent-safe in-memory key-value store.
func NewInMemoryCache ¶
func NewInMemoryCache() *InMemoryCache
func (*InMemoryCache) Delete ¶
func (c *InMemoryCache) Delete(key string)
func (*InMemoryCache) Set ¶
func (c *InMemoryCache) Set(key string, value any)
Click to show internal directories.
Click to hide internal directories.