Versions in this module Expand all Collapse all v0 v0.0.1 Apr 27, 2021 Changes in this version + func PostWithTime(ctx context.Context, url string, data string, timeout int64) (re []byte) + func Request(ctx context.Context, url string, method string, data string, ...) (re []byte) + func RequestUrlencoded(ctx context.Context, url string, method string, data map[string]string, ...) (re []byte) + func RequestWithCat(ctx context.Context, urlRaw string, method string, data string, ...) (re []byte) + func RequestWithResp(ctx context.Context, url string, method string, data string, ...) (re []byte, response *http.Response) + type Resp struct + Code int + Data interface{} + Msg string + func GetBody(req string) *Resp