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.
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.
Click to show internal directories.
Click to hide internal directories.