View definition

(*RepositoriesService).DownloadReleaseAsset

Defined in github.com/google/go-github/github/repos_releases.go

Description

DownloadReleaseAsset downloads a release asset or returns a redirect URL.

DownloadReleaseAsset returns an io.ReadCloser that reads the contents of the specified release asset. It is the caller's responsibility to close the ReadCloser. If a redirect is returned, the redirect URL will be returned as a string instead of the io.ReadCloser. Exactly one of rc and redirectURL will be zero.

GitHub API docs : http://developer.github.com/v3/repos/releases/#get-a-single-release-asset

DownloadReleaseAsset is referenced in 1 repository

github.com/google/go-github