Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
Channel allows clients to send messages for a specific state type that will be broadcasted in a best-effort manner.
type GossipServiceLayer ¶
type GossipServiceLayer interface { ServiceLayer Leave() Members() []*memberlist.Node UpdateMeta([]byte) Join([]string) error AddState(key string, state GossipState) (Channel, error) }
type GossipState ¶
GossipState represents a CRDT state store, that will be distributed over the mesh network.
type RaftServiceLayer ¶
type ServiceLayer ¶
type ServiceLayer interface { pb.LayerServer Health() string }
Click to show internal directories.
Click to hide internal directories.