Versions in this module Expand all Collapse all v0 v0.1.0 Apr 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