Versions in this module Expand all Collapse all v1 v1.166.0 Nov 19, 2026 v1.165.0 Nov 19, 2026 Changes in this version + type Cache struct + func New[V any](limit int) *Cache[V] + func (c *Cache[V]) Get(key Key) (V, bool) + func (c *Cache[V]) Put(key Key, value V) + type Key = [sha256.Size]byte + func KeyOf(source string, parts map[string]string) Key