Documentation
¶
Overview ¶
Package network implements the network functionality.
Index ¶
Constants ¶
View Source
const ( // LinkField is the spot to the Link field of the returned list. LinkField = iota // NameField is the equivalent for the Name field. NameField )
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func DownloadFile(url string) (io.ReadCloser, error)
DownloadFile returns the requested file as an io.Reader with corresponding close function.
func GetCourseList ¶
GetCourseList returns a list with the courses and the corresponding links to the exams.
func GetExamList ¶
GetExamList returns a list with the exam name and the corresponding links to the files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.