Versions in this module Expand all Collapse all v1 v1.0.0 Aug 2, 2021 Changes in this version + const DEFAULT_MAX_ITEMS + var ErrKeyNotFound = errors.New("key not found") + type Config struct + MaxItems int + type Glru struct + func New(config Config) *Glru + func (cache *Glru) DeleteKey(key string) + func (cache *Glru) Get(key string) (interface{}, error) + func (cache *Glru) Set(key string, value interface{})