Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + type Cache struct + func New(size int) (*Cache, error) + func (c *Cache) Add(key, value interface{}) + func (c *Cache) Get(key interface{}) (value interface{}, ok bool) + func (c *Cache) Keys() []interface{} + func (c *Cache) Len() int + func (c *Cache) Purge() + func (c *Cache) Remove(key interface{}) + func (c *Cache) RemoveOldest()