Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoExpiration = -1 DefaultExpiration = 0 )
Variables ¶
View Source
var (
ErrorKeyNotFound = errors.New("key not found")
)
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) DeleteExpired ¶
func (c *Cache) DeleteExpired()
func (*Cache) SetDefault ¶
Click to show internal directories.
Click to hide internal directories.