Versions in this module Expand all Collapse all v0 v0.0.2 Aug 29, 2023 Changes in this version + const DefaultTimeout + const MaxIdleConns + const MaxIdleConnsPerHost + func DoGet(url string) (string, error) + func DoGetWithHeader(url string, header map[string]string) (string, error) + func DoPost(url, body string) (string, error) + func DoPostWithHeader(url, body string, header map[string]string) (string, error) + type Client struct + Client *http.Client + Timeout int + var DefaultClient *Client + func NewClient(maxIdleConns, maxIdleConnsPerHost int) *Client + func (p *Client) DoRequestWithHeader(url, method, body string, header map[string]string) (string, error)