cachehash

package
v1.0.0-RC1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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) Add

func (c *CacheHash) Add(k interface{}, v interface{}) bool

func (*CacheHash) Delete

func (c *CacheHash) Delete(k interface{}) (interface{}, bool)

func (*CacheHash) Eject

func (c *CacheHash) Eject()

func (*CacheHash) First

func (c *CacheHash) First() (interface{}, interface{})

func (*CacheHash) Get

func (c *CacheHash) Get(k interface{}) (interface{}, bool)

func (*CacheHash) GetNoMove

func (c *CacheHash) GetNoMove(k interface{}) (interface{}, bool)

func (*CacheHash) Has

func (c *CacheHash) Has(k interface{}) bool

func (*CacheHash) Init

func (c *CacheHash) Init(maxLen int)

func (*CacheHash) Last

func (c *CacheHash) Last() (interface{}, interface{})

func (*CacheHash) Len

func (c *CacheHash) Len() int

func (*CacheHash) RegisterCB

func (c *CacheHash) RegisterCB(newCB func(interface{}, interface{}))

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL