Versions in this module Expand all Collapse all v0 v0.7.4 May 29, 2018 Changes in this version + const DefaultPort + var ErrBadKey = errors.New("Unable to parse key.") + type Envelope struct + Message interface{} + type MsgClientHello struct + Hostname string + Info string + Version string + type MsgKVs struct + KVs []SerializedUpdate + type MsgPing struct + Timestamp time.Time + type MsgPong struct + PingTimestamp time.Time + PongTimestamp time.Time + type MsgServerHello struct + Version string + type MsgSyncStatus struct + SyncStatus api.SyncStatus + type SerializedUpdate struct + Key string + Revision interface{} + TTL time.Duration + UpdateType api.UpdateType + Value []byte + func SerializeUpdate(u api.Update) (su SerializedUpdate, err error) + func (s SerializedUpdate) String() string + func (s SerializedUpdate) ToUpdate() (api.Update, error) + func (s SerializedUpdate) WouldBeNoOp(previous SerializedUpdate) bool