Documentation ¶ Index ¶ Variables func NewSelector(opts ...selector.Option) selector.Selector func TTL(t time.Duration) selector.Option Constants ¶ This section is empty. Variables ¶ View Source var ( DefaultTTL = time.Minute ) Functions ¶ func NewSelector ¶ func NewSelector(opts ...selector.Option) selector.Selector func TTL ¶ func TTL(t time.Duration) selector.Option Set the cache ttl Types ¶ This section is empty. Source Files ¶ View all Source files cache.gooptions.go Click to show internal directories. Click to hide internal directories.