Versions in this module Expand all Collapse all v0 v0.5.0 May 21, 2025 v0.4.0 Mar 26, 2025 Changes in this version + func QuickDelete(url string, headers map[string]string, tlsConf ...*tls.Config) (res []byte, err error) + func QuickGet(url string, headers map[string]string, tlsConf ...*tls.Config) (res []byte, err error) + func QuickPost(url string, headers, bodys map[string]string, tlsConf ...*tls.Config) (res []byte, err error) + func QuickPut(url string, headers, bodys map[string]string, tlsConf ...*tls.Config) (res []byte, err error) + type ReqClient struct + func New(domain string) *ReqClient + func (rc *ReqClient) Delete(api string, headers map[string]string) (res []byte, err error) + func (rc *ReqClient) Get(api string, headers map[string]string) (res []byte, err error) + func (rc *ReqClient) Post(api string, headers, bodys map[string]string) (res []byte, err error) + func (rc *ReqClient) Put(api string, headers, bodys map[string]string) (res []byte, err error) + func (rc *ReqClient) SetTimeout(second int) *ReqClient + func (rc *ReqClient) SetTlsClientVerify(certPemFilePath, keyPemFilePath string) *ReqClient + func (rc *ReqClient) SetTlsServerSkipVerify() *ReqClient + func (rc *ReqClient) SetTlsServerVerify(caCrtFilePath string) *ReqClient