Documentation
¶
Overview ¶
Package github reads TinyGo's releases from GitHub: the asset listing with its published digests, and the release archive, measured as it streams in.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNetworkForbidden = fmt.Errorf("%w: the environment declares no TinyGo release download from GitHub", goenv.ErrNetworkForbidden)
ErrNetworkForbidden reports that the environment declares no network, so the request was refused before any I/O.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client reads TinyGo's GitHub releases.
func NewWithBaseURL ¶
NewWithBaseURL reads the release listing from baseURL+tag; tests point it at a local server.
Click to show internal directories.
Click to hide internal directories.