Versions in this module Expand all Collapse all v0 v0.1.0 Aug 19, 2026 Changes in this version + func QueryTimeToTTL(queryTime time.Duration) time.Duration + type Cache interface + Close func() error + Get func(ctx context.Context, sha string, deps []Namespace) ([]byte, time.Duration, error) + Invalidate func(ctx context.Context, namespaces []Namespace) (uint64, error) + Set func(ctx context.Context, sha string, deps []Namespace, value []byte, ...) error + type LocalCache struct + func NewLocal(maxCost int64) (*LocalCache, error) + func (l *LocalCache) Close() error + func (l *LocalCache) Get(_ context.Context, sha string, deps []Namespace) ([]byte, time.Duration, error) + func (l *LocalCache) Invalidate(_ context.Context, namespaces []Namespace) (uint64, error) + func (l *LocalCache) Set(_ context.Context, sha string, deps []Namespace, value []byte, ...) error + func (l *LocalCache) Wait() + type Namespace struct + Scope string + Table string + type VersionManager struct + func NewVersionManager(conn *nats.Conn) *VersionManager + func (vm *VersionManager) BumpNamespace(table, scope string) + func (vm *VersionManager) BumpTable(table string) + func (vm *VersionManager) NamespaceKey(table, scope string) string + func (vm *VersionManager) QueryKey(sha string, deps []Namespace) string