client

package
v0.0.0-...-d76c376 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTimeoutDuringServerConnect = fmt.Errorf("%w: timeout during attempting to establish a connection to mediator server", os.ErrDeadlineExceeded)
	ErrTimeoutDuringPeerConnect   = fmt.Errorf("%w: timeout during attempting to establish a peer to peer network", os.ErrDeadlineExceeded)
)

Functions

func New

func New(wellKnownHost string) (client, error)

New returns a new client used to establish peer connections through the wellKnownHost. After connection, you will have to extract the client.Socket for further communication.

Types

This section is empty.

Jump to

Keyboard shortcuts

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