(ctx context.Context, key string, value T)
| 28 | type Cache[T any] interface { |
| 29 | Get(ctx context.Context, key string) (T, bool, error) |
| 30 | Set(ctx context.Context, key string, value T) error |
| 31 | Delete(ctx context.Context, key string) error |
| 32 | Purge(ctx context.Context) error |
| 33 | } |
no outgoing calls