NAME
ShardedKV::Storage::Rest - rest backend for ShardedKV
SYNOPSIS
use ShardedKV;
use ShardedKV::Storage::Rest;
... create ShardedKV...
my $storage = ShardedKV::Storage::Rest->new(
url => 'http://localhost:679',
);
... put storage into ShardedKV...
# values are scalar references to strings
$skv->set("foo", 'bar');
my $value_ref = $skv->get("foo");
DESCRIPTION
A ShardedKV
storage backend that uses a remote http/rest storage.
Implements the ShardedKV::Storage
role.
PUBLIC ATTRIBUTES
url
A 'http://hostname:port[/basepath]' url string pointing at the http/rest server for this shard. Required.
basepath
The base path part of the url provided at initialization time Read Only
SEE ALSO
AUTHORS
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 152:
You forgot a '=back' before '=head2'
- Around line 162:
=back without =over