Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
func NewLRUCache ¶
type SimpleCache ¶ added in v0.9.7
type SimpleCache struct {
// contains filtered or unexported fields
}
func NewSimpleCache ¶ added in v0.9.7
func NewSimpleCache(cap int) *SimpleCache
func (*SimpleCache) Get ¶ added in v0.9.7
func (c *SimpleCache) Get(key []byte) interface{}
func (*SimpleCache) Put ¶ added in v0.9.7
func (c *SimpleCache) Put(key []byte, value interface{})
Click to show internal directories.
Click to hide internal directories.