Versions in this module Expand all Collapse all v1 v1.57.1 Nov 10, 2026 v1.57.0 Oct 20, 2026 Changes in this version + func NewProxy(delegate datastore.Datastore, sets cache.Cache[SetKey, *CachedSet], ...) datastore.Datastore + type AccessCounter interface + Close func() + Touch func(key string) uint64 + func NewAccessCounter(maxCost int64, window time.Duration) (AccessCounter, error) + type CachedSet struct + Complete bool + MemoizedAt time.Time + Rels []tuple.Relationship + func (s *CachedSet) Cost() int64 + type Options struct + MaterializeThreshold uint64 + MaximumSetSize uint64 + NowFunc func() time.Time + type SetKey string + func NewSetKey(resourceType, objectID, relation, revision string) SetKey + func NewTooBigMemoKey(resourceType, objectID, relation string) SetKey + func (k SetKey) KeyString() string