Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadLink ¶
type DownloadLink struct {
// contains filtered or unexported fields
}
DownloadLink is the type to aggregate the download data
func GetHighlightClassTokensN ¶
func GetHighlightClassTokensN(resp *http.Response, n int) ([]DownloadLink, error)
GetHighlightClassTokensN will return up to the first N of all the highligth class tokens in the http.Response along with the SHA value that is on the table
func (DownloadLink) FileName ¶
func (dl DownloadLink) FileName() string
FileName returns the filename value of the download link
func (DownloadLink) Href ¶
func (dl DownloadLink) Href() string
Href returns the href value of the download link
func (DownloadLink) Sha256 ¶
func (dl DownloadLink) Sha256() string
Sha256 returns the Sha256 value of the download link
Click to show internal directories.
Click to hide internal directories.