Documentation
¶
Overview ¶
Package transport sends every request this CLI makes. It owns the three things a command should not have to: which token an operation takes, which address it goes to, and how a refusal reads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRequestFailed = errors.New("request failed")
Functions ¶
This section is empty.
Types ¶
type APIError ¶
APIError is a refusal from a service. Callers branch on Code rather than matching prose: the wording changes, the code is contract.
Click to show internal directories.
Click to hide internal directories.