agent

package
v0.0.0-...-077b43f Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	*peer.Peer
	// contains filtered or unexported fields
}

Agent provides membership, failure detection, and event broadcast. TODO LAN+WAN gossip

func New

func New() *Agent

func (*Agent) ListMembers

func (a *Agent) ListMembers(port int)

func (*Agent) ServeForever

func (a *Agent) ServeForever(port int, tags []string, seeds ...string)

Jump to

Keyboard shortcuts

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