package
Version:
v0.0.0-...-b84ed1e
Opens a new window with list of versions in this module.
Published: Dec 9, 2019
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func CloseAll(peers string, timeout int) error
-
func ClosePeers(peers string, closePeers string, timeout int) error
-
func IDs(peers string, timeout int) error
-
func ListPeers(peers string, timeout int) error
-
func Listens(peers string, timeout int) error
-
func OpenPeers(peers string, openPeers string, timeout int) error
-
func Publish(msgID []byte, msgLoc, peers string, size uint, timeout int) error
-
func Shutdown(peers string, timeout int) error
CloseAll requests the passed peers close all peer connections
ClosePeers requests the passed hosts to close connections to passed peers
IDs requests the passed peers to return their IDs
ListPeers requests the passed peers to list their connected peers
Listens requests the listen addresses of the passed peers
OpenPeers requests the passed peers to open connections to passed peers
Publish requests the passed peers to publish the passed message
Shutdown requests that past peers be shutdown
Source Files
¶
Click to show internal directories.
Click to hide internal directories.