NAME
Myriad::Service::Storage - microservice storage abstraction layer
SYNOPSIS
my $storage = $myriad->storage;
await $storage->get('some_key');
await $storage->hash_add('some_key', 'hash_key', 13);
DESCRIPTION
This module provides service storage access.
It implements Myriad::Role::Storage in an object available as the $storage
lexical in any service class. See that module for more details on the API.
apply_prefix
Maps the requested key into the service's keyspace so we can pass it over to the generic storage layer.
Takes the following parameters:
$k
- the key
Returns the modified key.
INHERITED METHODS
AUTHOR
Deriv Group Services Ltd. DERIV@cpan.org
.
See "CONTRIBUTORS" in Myriad for full details.
LICENSE
Copyright Deriv Group Services Ltd 2020-2022. Licensed under the same terms as Perl itself.