Documentation ¶
Index ¶
- type CacheHash
- func (c *CacheHash) Add(k interface{}, v interface{}) bool
- func (c *CacheHash) Delete(k interface{}) (interface{}, bool)
- func (c *CacheHash) Eject()
- func (c *CacheHash) First() (interface{}, interface{})
- func (c *CacheHash) Get(k interface{}) (interface{}, bool)
- func (c *CacheHash) GetNoMove(k interface{}) (interface{}, bool)
- func (c *CacheHash) Has(k interface{}) bool
- func (c *CacheHash) Init(maxLen int)
- func (c *CacheHash) Last() (interface{}, interface{})
- func (c *CacheHash) Len() int
- func (c *CacheHash) RegisterCB(newCB func(interface{}, interface{}))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheHash ¶
type CacheHash struct {
// contains filtered or unexported fields
}
func (*CacheHash) RegisterCB ¶
func (c *CacheHash) RegisterCB(newCB func(interface{}, interface{}))
Click to show internal directories.
Click to hide internal directories.