Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] struct { sync.Mutex // contains filtered or unexported fields }
func NewSet ¶
func NewSet[T comparable]() *Set[T]
type SizeLimitedCache ¶
type SizeLimitedCache struct {
// contains filtered or unexported fields
}
func NewSizeLimitedCache ¶
func NewSizeLimitedCache(maxSize uint) *SizeLimitedCache
func (*SizeLimitedCache) CacheResponse ¶
func (c *SizeLimitedCache) CacheResponse()
func (*SizeLimitedCache) Evict ¶
func (c *SizeLimitedCache) Evict()
func (*SizeLimitedCache) GetResponse ¶
func (c *SizeLimitedCache) GetResponse()
Click to show internal directories.
Click to hide internal directories.