# Packages
Package storage implements persistent storage for the state of the discovery service.
# Functions
NewAffiliate constructs new (empty) Affiliate.
NewCluster creates new cluster with specified ID.
NewState create new instance of State.
# Variables
ErrTooManyAffiliates is raised when there are too many affiliates in the cluster.
ErrTooManyEndpoints is raised when there are too many endpoints in the affiliate.
# Structs
Affiliate represents cluster affiliate state.
AffiliateExport represents a read-only copy of affiliate.
Cluster is a collection of affiliates.
Endpoint is a combination of endpoint itself and its TTL.
Notification about affiliate update.
State keeps the discovery service state.
Subscription is a handle returned to the subscriber.