Documentation
¶
Index ¶
Constants ¶
View Source
const CompressionThreshold = 1024 // 1KB
CompressionThreshold is the minimum size in bytes before a value is compressed
View Source
const MaxCacheSize = 10000
MaxCacheSize is the maximum number of entries in the cache
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
func (*Cache) CleanExpiredEntries ¶
func (c *Cache) CleanExpiredEntries()
func (*Cache) CountQueries ¶
Click to show internal directories.
Click to hide internal directories.