Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repo ¶
Repo is a github repository adapter
func (*Repo) FindReleaseAsset ¶
FindReleaseAsset finds asset by name and returns ID and size
func (*Repo) GetLatestRelease ¶
func (r *Repo) GetLatestRelease() (*github.RepositoryRelease, error)
GetLatestRelease gets latest of github releases
func (*Repo) ReleaseNotes ¶
ReleaseNotes returns github release notes for the (from,to] semver interval
func (*Repo) StreamAsset ¶
func (r *Repo) StreamAsset(id int64) (io.ReadCloser, error)
StreamAsset provides a ReadCloser for streaming the assets over HTTP
Click to show internal directories.
Click to hide internal directories.