Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrMiss = Error("cache miss") ErrorBucketNum = Error("bucket num must be the power of two") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Setter ¶
func WithGCInterval ¶
WithGCInterval sets the gc cycle.
Click to show internal directories.
Click to hide internal directories.