Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Release ¶
type Release struct { TagName string `json:"tag_name"` Assets []ReleaseAsset `json:"assets"` TarballURL string `json:"tarball_url"` }
type ReleaseAsset ¶
type ReleaseAsset struct {
URL string `json:"url"`
}
type ReleaseService ¶
type ReleaseService struct {
// contains filtered or unexported fields
}
func NewReleaseService ¶
func NewReleaseService(config Config) ReleaseService
func (ReleaseService) GetReleaseAsset ¶
func (rs ReleaseService) GetReleaseAsset(asset ReleaseAsset) (io.ReadCloser, error)
func (ReleaseService) GetReleaseTarball ¶
func (rs ReleaseService) GetReleaseTarball(url string) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.