Set cache value by given key
(key string, v interface{}, ttl int64)
| 18 | GetInt64(key string) (int64, error) |
| 19 | // Set cache value by given key |
| 20 | Set(key string, v interface{}, ttl int64) error |
| 21 | // Incr increases int64-type value by given key as a counter |
| 22 | // if key not exist, before increase set value with zero |
| 23 | Incr(key string) (int64, error) |
no outgoing calls