Versions in this module Expand all Collapse all v0 v0.1.0 Aug 9, 2020 Changes in this version + type Cache interface + Get func(key string) interface{} + Lookup func(key string) (interface{}, bool) + Set func(key string, value interface{}) bool + SetNX func(key string, value interface{}, expire time.Duration) bool + func New(opt Option) Cache + type Option struct + Type Type + type Type int + const TypeMem + const TypeRedis