mailgun / groupcache

Clone of golang/groupcache with TTL and Item Removal support
Apache License 2.0
495 stars 73 forks source link

[Feature Request]: Redis SetNX() equivalent #63

Open numberinho opened 1 year ago

numberinho commented 1 year ago

Thank you for providing your updated version!

Do you think it is possible to implement a safe Redis SetNX() equivalent (only set(), if the key does not exist)?

How would you achieve this?