Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheData ¶
type CacheData struct {
Timestamp string `json:"timestamp"`
Releases []*github.RepositoryRelease `json:"releases"`
}
type FetchOptions ¶
type GithubHelper ¶
func New ¶
func New() GithubHelper
func (*GithubHelper) DownloadRelease ¶
func (gh *GithubHelper) DownloadRelease(version, vrsPath string) error
DownloadRelease downloads the specified release version to the given vrsPath
func (*GithubHelper) FetchAllReleases ¶
func (gh *GithubHelper) FetchAllReleases(opts FetchOptions) ([]*github.RepositoryRelease, error)
FetchAllReleases fetches all releases from the GitHub repository
Click to show internal directories.
Click to hide internal directories.