Documentation ¶
Index ¶
- func CreateHeadersMap(headers []string) map[string]string
- func CreateHttpClient(transportNetwork, localAddr string, secureSkipVerify bool, ...) (*http.Client, error)
- func GetAndParseJSONResponseFromGoutDoHttpRequest(...) error
- func GetAndParseJSONResponseFromHttpResponse(resp *http.Response, result interface{}) error
- func GetBytesFromGoutDoHttpRequest(...) (int, []byte, error)
- func GetBytesFromHttpResponse(resp *http.Response) ([]byte, error)
- func GetStringFromHttpResponse(resp *http.Response) (string, error)
- func GetStringGoutDoHttpRequest(...) (int, string, error)
- func NewGout(transportNetwork, localAddr string, secureSkipVerify bool, ...) (*dataflow.Gout, error)
- func NewTransport(transportNetwork, localAddrStr string, secureSkipVerify bool, ...) (*http.Transport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHeadersMap ¶
func CreateHttpClient ¶
func GetBytesFromHttpResponse ¶
GetStringFromHttpResponse 从response获取
func GetStringFromHttpResponse ¶
GetStringFromHttpResponse 从response获取
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.