gossip

package
v0.0.0-...-b4aad92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, c *config.Config) error

Types

type NodeDelegate

type NodeDelegate struct {
	GrpcPort string
}

func (*NodeDelegate) GetBroadcasts

func (n *NodeDelegate) GetBroadcasts(overhead, limit int) [][]byte

func (*NodeDelegate) LocalState

func (n *NodeDelegate) LocalState(join bool) []byte

func (*NodeDelegate) MergeRemoteState

func (n *NodeDelegate) MergeRemoteState(buf []byte, join bool)

func (*NodeDelegate) NodeMeta

func (n *NodeDelegate) NodeMeta(limit int) []byte

func (*NodeDelegate) NotifyMsg

func (n *NodeDelegate) NotifyMsg(bytes []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL