p2p

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidResponse = errors.New("server returned an invalid response or caused an internal error")

ErrInvalidResponse is returned when a peer returns an invalid response or caused an internal error. It is used to signal that the peer couldn't serve the data successfully, and should not be retried.

View Source
var ErrUnavailable = errors.New("server cannot serve the requested data at this time")

ErrUnavailable is returned when a peer doesn't have the requested data or doesn't have the capacity to serve it at the moment. It is used to signal that the peer couldn't serve the data successfully, but should be retried later.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
pb
pb

Jump to

Keyboard shortcuts

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