base64_encoded_key_value_storage

Macro base64_encoded_key_value_storage 

Source
macro_rules! base64_encoded_key_value_storage {
    ($name:ident, $dict:expr, $key:ty, $value_type:ty) => { ... };
}
Expand description

Creates an Odra module that stores a values in a given dictionary.

The module has three methods: set, get and init. The key argument of set and get is base64-encoded and then used as a dictionary key. The init method initializes the dictionary with the given name.