Versions in this module Expand all Collapse all v0 v0.7.1 Aug 16, 2018 Changes in this version + var DefaultURLClientOption = &URLClientOption + var SignRequest func(*http.Request) error + func GetX509CACertPool(caCertFile string) (*x509.CertPool, error) + func LoadTLSCertificate(certFile, keyFile, passphase string, cipher security.Cipher) ([]tls.Certificate, error) + type URLClient struct + Request *http.Request + TLS *tls.Config + func GetURLClient(option *URLClientOption) (client *URLClient, err error) + func (client *URLClient) HTTPDo(method string, rawURL string, headers http.Header, body []byte) (resp *http.Response, err error) + type URLClientOption struct + Compressed bool + HandshakeTimeout time.Duration + ResponseHeaderTimeout time.Duration + SSLEnabled bool + TLSConfig *tls.Config + Verbose bool