Copyright © 2019 Marc Worrell
Authors: Marc Worrell (marc@worrell.nl).
error() = timeout | no_client | invalid_topic
key() = binary() | atom()
value() = number() | boolean() | binary() | #{key() => value()} | tuple()
delete/2 | |
delete/3 | |
delete_subkey/3 | |
delete_subkey/4 | |
get/2 | |
get/3 | |
get_subkey/3 | |
get_subkey/4 | |
put/3 | |
put/4 | |
put_subkey/4 | |
put_subkey/5 |
delete(Key::key(), Context::z:context()) -> ok | {error, error()}
delete(Key::key(), BridgeTopic::mqtt_sessions:topic(), Context::z:context()) -> ok | {error, error()}
delete_subkey(Key::key(), SubKey::key(), Context::z:context()) -> ok | {error, error()}
delete_subkey(Key::key(), Subkey::key(), BridgeTopic::mqtt_sessions:topic(), Context::z:context()) -> ok | {error, error()}
get(Key::key(), Context::z:context()) -> {ok, value()} | {error, error()}
get(Key::key(), BridgeTopic::mqtt_sessions:topic(), Context::z:context()) -> {ok, value()} | {error, error()}
get_subkey(Key::key(), SubKey::key(), Context::z:context()) -> {ok, value()} | {error, error()}
get_subkey(Key::key(), SubKey::key(), BridgeTopic::mqtt_sessions:topic(), Context::z:context()) -> {ok, value()} | {error, error()}
put(Key::key(), Value::value(), Context::z:context()) -> ok | {error, error()}
put(Key::key(), Value::value(), BridgeTopic::mqtt_sessions:topic(), Context::z:context()) -> ok | {error, error()}
put_subkey(Key::key(), SubKey::key(), Value::value(), Context::z:context()) -> ok | {error, error()}
put_subkey(Key::key(), SubKey::key(), Value::value(), BridgeTopic::mqtt_sessions:topic(), Context::z:context()) -> ok | {error, error()}
Generated by EDoc