NAME

Myriad::Service:Storage - microservice storage abstraction

SYNOPSIS

my $storage = $myriad->storage;
await $storage->get('some_key');
await $storage->hash_add('some_key', 'hash_key', 13);

DESCRIPTION

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.

AUTHOR

Deriv Group Services Ltd. DERIV@cpan.org.

See "CONTRIBUTORS" in Myriad for full details.

LICENSE

Copyright Deriv Group Services Ltd 2020-2021. Licensed under the same terms as Perl itself.