Versions in this module Expand all Collapse all v1 v1.6.1 Jan 10, 2020 Changes in this version + type ProxySettings struct + Enable bool + Host string + Password string + Port int + Username string + type Session struct + ModuleKey string + func (s *Session) CheckDownloadedFileForErrors(writtenSize int64, responseHeader http.Header) (err error) + func (s *Session) EnsureDownloadDirectory(fileName string) + func (s *Session) GetDocument(response *http.Response) *goquery.Document + func (s *Session) UpdateTreeFolderChangeTimes(filePath string) + type SessionInterface interface + CheckDownloadedFileForErrors func(writtenSize int64, responseHeader http.Header) (err error) + DownloadFile func(filepath string, uri string) (err error) + EnsureDownloadDirectory func(fileName string) + Get func(uri string) (response *http.Response, err error) + GetClient func() *http.Client + GetDocument func(response *http.Response) *goquery.Document + Post func(uri string, data url.Values) (response *http.Response, err error) + SetClient func(client *http.Client) + SetProxy func(proxySettings *ProxySettings) (err error) + UpdateTreeFolderChangeTimes func(filePath string)