Add SET options
Motivation:
SET has a range of options for setting expirations and conditionally setting a value.
Modification:
- Add another
set
function with a range of options. Options are modelled asstruct
s backed by privateenum
s to allow additional options to be added without breaking API. - Added tests
Result:
- Options may be specified with
set
- Resolves #67 (closed)
Edited by Nathan Harris