Versions in this module Expand all Collapse all v1 v1.0.6 Feb 25, 2021 v1.0.4 Feb 25, 2021 Changes in this version + type Config struct + Addr string + CacheExpire xtime.Duration + IdleConns int + Timeout xtime.Duration + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type Memcache interface + Add func(key string, v interface{}) (err error) + CompareAndSwap func(item *mc.Item) (err error) + Decrement func(key string, delta uint64) (newValue uint64, err error) + Delete func(key string) (err error) + DeleteAll func() (err error) + FlushAll func() (err error) + Get func(key string, obj interface{}) (err error) + GetMulti func(keys []string) (items map[string]*mc.Item, err error) + Increment func(key string, delta uint64) (newValue uint64, err error) + Replace func(key string, v interface{}) (err error) + Set func(key string, v interface{}) (err error) + Touch func(key string, seconds int32) (err error) + func New(cfg *Config) Memcache + type UnmarshalTypeError struct + Field string + Offset int64 + Struct string + Type reflect.Type + Value string + func (e *UnmarshalTypeError) Error() string