Versions in this module Expand all Collapse all v1 v1.8.1 Mar 10, 2020 Changes in this version + const COPY + const DELETE + const EXPIRE + const GET + const SET + type Cache struct + func MakeCache(ctimeExpiry, atimeExpiry time.Duration) *Cache + func (c *Cache) Copy() map[interface{}]interface{} + func (c *Cache) Delete(key interface{}) error + func (c *Cache) Get(key interface{}) (interface{}, error) + func (c *Cache) IsOld(v *Value) bool + func (c *Cache) Set(key interface{}, value interface{}) (interface{}, error) + type Value struct