Documentation ¶
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
}
Defines the cache and all required items.
func NewCache ¶
NewCache is used to create the cache. Setting MaxLength of MaxBytes to 0 will mean unlimited.
func (*Cache) Delete ¶
func (c *Cache) Delete(Key interface{})
Delete is used to delete an option from the cache.
Click to show internal directories.
Click to hide internal directories.