ldclient_storage_redis
module.
Behaviours: ldclient_storage_engine.
ldclient_storage_redis
module
all/2 | |
create/2 | |
delete/3 | |
empty/2 | |
get/3 | |
init/3 | |
terminate/1 | |
upsert/3 | |
upsert_clean/3 |
all(Tag::atom(), Bucket::atom()) -> [{Key::binary(), Value::any()}] | {error, bucket_not_found, string()}
create(Tag::atom(), Bucket::atom()) -> ok | {error, already_exists, string()}
delete(Tag::atom(), Bucket::atom(), Key::binary()) -> ok | {error, bucket_not_found, string()}
empty(Tag::atom(), Bucket::atom()) -> ok | {error, bucket_not_found, string()}
get(Tag::atom(), Bucket::atom(), Key::binary()) -> [{Key::binary(), Value::any()}] | {error, bucket_not_found, string()}
init(SupRef::atom(), Tag::atom(), Options::list()) -> ok
terminate(Tag::atom()) -> ok
upsert(Tag::atom(), Bucket::atom(), Items::#{Key::binary() => Value::any()}) -> ok | {error, bucket_not_found, string()}
upsert_clean(Tag::atom(), Bucket::atom(), Items::#{Key::binary() => Value::any()}) -> ok | {error, bucket_not_found, string()}
Generated by EDoc