Documentation
¶
Overview ¶
Package gobinaries provides an HTTP server for on-demand Go binaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoVersionMatch = errors.New("no matching version")
ErrNoVersionMatch is returned by Resolver.Resolve() when no tag matches the requested version.
View Source
var ErrNoVersions = errors.New("no versions defined")
ErrNoVersions is returned by Resolver.Resolve() when no versions are defined.
View Source
var ErrObjectNotFound = errors.New("no cloud storage object")
ErrObjectNotFound is returned by Storage.Get() when no object is found for the specified key.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct {
// Path is the command path such as "github.com/tj/staticgen/cmd/staticgen".
Path string
// Module path such as "github.com/tj/staticgen".
Module string
// Version is the version of the package.
Version string
// OS is the the target operating system.
OS string
// Arch is the target architecture.
Arch string
}
Binary represents the details of a package binary.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package build provides Go package building.
|
Package build provides Go package building. |
|
cmd
|
|
|
gobinaries-api
command
|
|
|
Package resolver provides a GitHub bins.Resolver implementation for resolving GitHub project tags.
|
Package resolver provides a GitHub bins.Resolver implementation for resolving GitHub project tags. |
|
Package server provides an HTTP server for on-demand Go binaries.
|
Package server provides an HTTP server for on-demand Go binaries. |
|
Package storage provides object storage for Go binaries.
|
Package storage provides object storage for Go binaries. |
Click to show internal directories.
Click to hide internal directories.

