The package implements the Cache interface (as sugar).
(key string, ptrValue interface{})
| 129 | // The package implements the Cache interface (as sugar). |
| 130 | |
| 131 | func Get(key string, ptrValue interface{}) error { return Instance.Get(key, ptrValue) } |
| 132 | func GetMulti(keys ...string) (Getter, error) { return Instance.GetMulti(keys...) } |
| 133 | func Delete(key string) error { return Instance.Delete(key) } |
| 134 | func Increment(key string, n uint64) (newValue uint64, err error) { return Instance.Increment(key, n) } |