Expand description
A small, gossip-based, eventually consistent key-value store.
The entry point is the Client struct, which can be created with a
GossipTopic and a Config.
Writing to the store requires a WriteScope, which is created
from the client using a SecretKey.
You can read from the store with Client::get, but mostly you will
create a subscription using Client::subscribe and then get updates
of type SubscribeItem.
Subscriptions can be restricted using a Filter. You can also specify
if you want just the current state or future updates, using SubscribeMode.
Entries in the database expire after not being modified for a certain duration,
which can be specified in the ExpiryConfig.
Re-exports§
pub use proto::SignedValue;
Modules§
- proto
- Gossip protocol messages and helpers
- util
- Utility functions for working with strings and nanosecond timestamps.