Documentation ¶
Overview ¶
Utility package - provides commonly used utility functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformHttpGetRequest ¶
PerformHttpGetRequest- self explanatory sends an http get request to the supplied url (using the supplied user name and password for basic http authentication - if needed). The function returns the http return status code, the return payload as a byte array
func PerformHttpPutRequest ¶
PerformHttpPutRequest - self explanatory sends an http put reuest to the supplied url (using the supplied user name and password for basic http authentication - if needed) with the supplied data as payload. The function returns the http return status code, the return payload as a byte array
Types ¶
type FileInfo ¶
func CreateListOfAllFiles ¶
createListOfAllFiles takes in a basepath for a directory and returns the list of all files present within that directory and all its sub directories recursively