peers

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

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

Go to latest
Published: Jan 14, 2019 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Receiver

func Receiver(port int, peerUpdateCh chan<- PeerUpdate)

func Transmitter

func Transmitter(port int, id string, transmitEnable <-chan bool)

Types

type PeerUpdate

type PeerUpdate struct {
	Peers []string
	New   string
	Lost  []string
}

Jump to

Keyboard shortcuts

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