package
Version:
v1.3.0-alpha.1
Opens a new window with list of versions in this module.
Published: Mar 29, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewCache(maxSize int) Cache
func (c *Cache) Add(index uint64, obj interface{}) bool
Returns true if object already existed, false otherwise.
func (c *Cache) Get(index uint64) (obj interface{}, found bool)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.