Versions in this module Expand all Collapse all v1 v1.18.1 Apr 6, 2022 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