Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *http.Client
Functions ¶
func CreateMultipartFormData ¶
func PrintFailure ¶
func PrintFailure(message string)
func PrintSuccess ¶
func PrintSuccess(message string)
Types ¶
type DeleteRequest ¶
type GetRequest ¶
type PostRequest ¶
type Response ¶
type Response struct { StatusCode int ContentLength int64 ResponseBody string ResponseHeaders map[string]string }
func SendDeleteRequest ¶
func SendDeleteRequest(debug bool, requestURL string, deleteRequest DeleteRequest) Response
func SendGetRequest ¶
func SendGetRequest(debug bool, requestURL string, getRequest GetRequest) Response
func SendPostRequest ¶
func SendPostRequest(debug bool, requestURL string, postRequest PostRequest) Response
Click to show internal directories.
Click to hide internal directories.