gossip

package
v0.0.0-...-0e8913f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Seed = "localhost:8080"

Variables

This section is empty.

Functions

func NewNode

func NewNode(port int, seeds ...string) (*server, error)

func Run

func Run(c cnfg.Config) error

Types

type Message

type Message struct {
	ID      string
	Type    string
	Records []*serverRecord `json:",omitempty"`
}

func (Message) String

func (m Message) String() string

Jump to

Keyboard shortcuts

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