Versions in this module Expand all Collapse all v1 v1.11.0 Dec 24, 2018 v1.10.0 Aug 16, 2018 Changes in this version + var ErrIntOverflowMesh = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMesh = fmt.Errorf("proto: negative length found during unmarshaling") + type KVState struct + Records map[string]*KVStateRecord + func DecodeKVState(data []byte) (*KVState, error) + func (*KVState) Descriptor() ([]byte, []int) + func (*KVState) ProtoMessage() + func (m *KVState) GetRecords() map[string]*KVStateRecord + func (m *KVState) Marshal() (data []byte, err error) + func (m *KVState) MarshalTo(data []byte) (int, error) + func (m *KVState) Reset() + func (m *KVState) Size() (n int) + func (m *KVState) Unmarshal(data []byte) error + func (s *KVState) Encode() [][]byte + func (s *KVState) Merge(other mesh.GossipData) (complete mesh.GossipData) + func (this *KVState) String() string + type KVStateRecord struct + Data []byte + Tombstone bool + Version uint64 + func (*KVStateRecord) Descriptor() ([]byte, []int) + func (*KVStateRecord) ProtoMessage() + func (m *KVStateRecord) Marshal() (data []byte, err error) + func (m *KVStateRecord) MarshalTo(data []byte) (int, error) + func (m *KVStateRecord) Reset() + func (m *KVStateRecord) Size() (n int) + func (m *KVStateRecord) Unmarshal(data []byte) error + func (this *KVStateRecord) String() string + type MeshGossiper struct + func NewMeshGossiper(listen string, channelName string, nodeName string, password []byte, ...) (*MeshGossiper, error) + func (g *MeshGossiper) Snapshot() *gossip.GossipStateSnapshot + func (g *MeshGossiper) Start() error + func (g *MeshGossiper) UpdateValues(removeKeys []string, putEntries map[string]string) error