Documentation ¶ Index ¶ Variables func Https(method, url string, body io.Reader, funcHeader func(header http.Header), ...) error func JSON(url string, data interface{}, result interface{}, ...) error func PostForm(url string, data url.Values, funcHeader func(header http.Header), ...) error Constants ¶ This section is empty. Variables ¶ View Source var HttpsClient = &http.Client{ Timeout: 10 * time.Minute, Transport: &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, }, } Functions ¶ func Https ¶ func Https(method, url string, body io.Reader, funcHeader func(header http.Header), funcResponse func(response *http.Response) error) error func JSON ¶ func JSON(url string, data interface{}, result interface{}, funcHeader func(header http.Header)) error func PostForm ¶ func PostForm(url string, data url.Values, funcHeader func(header http.Header), funcResponse func(response *http.Response) error) error Types ¶ This section is empty. Source Files ¶ View all Source files httpsclient.go Click to show internal directories. Click to hide internal directories.