Set stores a value with an optional TTL. If ttl is 0, the entry never expires.
(ctx context.Context, key string, value V, ttl time.Duration)
| 13 | |
| 14 | // Set stores a value with an optional TTL. If ttl is 0, the entry never expires. |
| 15 | Set(ctx context.Context, key string, value V, ttl time.Duration) |
| 16 | |
| 17 | // Delete removes a single key. |
| 18 | Delete(ctx context.Context, key string) |
no outgoing calls