Documentation ¶
Overview ¶
Package weakcache is weak cache implementation using finalizers and reference counting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is a reference-counting cache which lets keys and values that have no reference outside of the cache be garbage collected.
Click to show internal directories.
Click to hide internal directories.