Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 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 Incompatible versions in this module v2.3.0+incompatible May 9, 2021