Documentation
¶
Index ¶
- func AddGetDataToURL(urlString string, data url.Values) string
- func HTTPGET(trace *mylog.TraceContext, urlString string, urlParams url.Values, ...) (*http.Response, []byte, error)
- func HTTPJSON(trace *mylog.TraceContext, urlString string, jsonContent string, msTimeout int, ...) (*http.Response, []byte, error)
- func HTTPPOST(trace *mylog.TraceContext, urlString string, urlParams url.Values, ...) (*http.Response, []byte, error)
- func Substr(str string, start int64, end int64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGetDataToURL ¶
AddGetDataToURL xxx
func HTTPGET ¶
func HTTPGET(trace *mylog.TraceContext, urlString string, urlParams url.Values, msTimeout int, header http.Header) (*http.Response, []byte, error)
HTTPGET 带有日志信息日志信息
func HTTPJSON ¶
func HTTPJSON(trace *mylog.TraceContext, urlString string, jsonContent string, msTimeout int, header http.Header) (*http.Response, []byte, error)
HTTPJSON 带有日志的 JSON 方法
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.