client

package
v0.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAll

func CloseAll(peers string, timeout int) error

CloseAll requests the passed peers close all peer connections

func ClosePeers

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

ClosePeers requests the passed hosts to close connections to passed peers

func IDs

func IDs(peers string, timeout int) error

IDs requests the passed peers to return their IDs

func ListPeers

func ListPeers(peers string, timeout int) error

ListPeers requests the passed peers to list their connected peers

func Listens

func Listens(peers string, timeout int) error

Listens requests the listen addresses of the passed peers

func OpenPeers

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

OpenPeers requests the passed peers to open connections to passed peers

func Publish

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

Publish requests the passed peers to publish the passed message

func Shutdown

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