Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCache ¶
func NewCache(path string, opts ...CacheOption) (*kvCache, error)
Types ¶
type CacheOption ¶
type CacheOption func(*kvCache)
func WithExpiry ¶
func WithExpiry(expiry time.Duration) CacheOption
Click to show internal directories.
Click to hide internal directories.