# Functions
NewDataStore creates a Datastore.
NewLeadership creates a leadership.
NewMetadata returns new Metadata.
# Structs
Datastore holds a struct synced in a KV store.
Leadership allows leadership election using a KV store.
Metadata stores Object plus metadata.
# Interfaces
Object is the struct to store.
Store is a generic interface to represents a storage.
Transaction allows to set a struct in the KV store.
# Type aliases
LeaderListener is called when leadership has changed.
Listener is called when Object has been changed in KV store.