Documentation ¶
Index ¶
Constants ¶
View Source
const MaxHeartbeatSize = 1400
View Source
const MinimumMessageSize = 13
MinimumMessageSize is the minimum size of every Message
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmAlive ¶
type AmAlive struct { KnownChunks []AmAliveChunk //Chunks known by the server RecentlyAddedServers []string RecentlyDeadServers []string }
AmAlive stores heartbeat information
func AmAliveUnMarshal ¶
AmAliveUnMarshal unserializes s into an AmAlive object
type AmAliveChunk ¶
type Message ¶
Message stores a DB message that can be sent and recieved using a network connection
Click to show internal directories.
Click to hide internal directories.