Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Broadcast ¶
func Broadcast(message BroadcastMessage) error
Broadcast used for single shot broadcast
func SyncNodesAndLinkStates ¶
SyncNodesAndLinkStates A node that is not starting the first time tries to load the current cluster information from one of its neighbors Called before the node connected to the cluster, thus should not use dqlite repo
Types ¶
type BroadcastMessage ¶
type BroadcastMessage = struct { Type pb.BroadcastType Payload []byte }
Click to show internal directories.
Click to hide internal directories.