Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Get func(url string) ([]byte, error)
Get takes a URL and returns the contents as bytes
View Source
var GetDirect = httpGet
GetWithProgress takes a URL and returns the contents as bytes, it takes an optional second arg which will spawn a progressbar
Functions ¶
func SetMocking ¶
func SetMocking(useMocking bool)
SetMocking sets the correct Get methods for testing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.