Versions in this module Expand all Collapse all v4 v4.7.1 Feb 23, 2023 Changes in this version + var DefaultTTL = time.Minute + type Cache interface + Stop func() + func New(r registry.Registry, opts ...Option) Cache + type Option func(o *Options) + func WithTTL(t time.Duration) Option + type Options struct + TTL time.Duration