Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCache ¶
type LocalCache struct {
// contains filtered or unexported fields
}
LocalCache local cache build in map
func New ¶
func New(opts ...Opt) *LocalCache
func (*LocalCache) Close ¶
func (l *LocalCache) Close() error
type Opt ¶
type Opt func(c *LocalCache)
func WithCheckInterval ¶
func WithEvictFunc ¶
Click to show internal directories.
Click to hide internal directories.