client

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAll added in v0.1.0

func CloseAll(peers string, timeout int) error

CloseAll requests the passed peers close all peer connections

func ClosePeers added in v0.1.0

func ClosePeers(peers string, closePeers string, timeout int) error

ClosePeers requests the passed hosts to close connections to passed peers

func Gossip added in v0.1.0

func Gossip(msgID []byte, msgLoc, peers string, size uint, timeout int) error

Gossip requests the passed peers to gossip the passed message

func IDs added in v0.1.0

func IDs(peers string, timeout int) error

IDs requests the passed peers to return their IDs

func ListPeers added in v0.1.0

func ListPeers(peers string, timeout int) error

ListPeers requests the passed peers to list their connected peers

func Listens added in v0.1.0

func Listens(peers string, timeout int) error

Listens requests the listen addresses of the passed peers

func OpenPeers added in v0.1.0

func OpenPeers(peers string, openPeers string, timeout int) error

OpenPeers requests the passed peers to open connections to passed peers

func Shutdown added in v0.1.0

func Shutdown(peers string, timeout int) error

Shutdown requests that past peers be shutdown

Types

This section is empty.

Jump to

Keyboard shortcuts

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