(key, value interface{})
| 18 | |
| 19 | type Cache interface { |
| 20 | Set(key, value interface{}) error |
| 21 | SetWithExpire(key, value interface{}, expiration time.Duration) error |
| 22 | Get(key interface{}) (interface{}, error) |
| 23 | GetIFPresent(key interface{}) (interface{}, error) |
no outgoing calls