Documentation ¶ Index ¶ func ParseJson(res string) (*fastjson.Value, error) func PostForm(reqbody map[string]interface{}, url string, ...) (respBody string, err error) func PostJson(reqbody map[string]interface{}, url string, ...) (respBody string, err error) type ReqBody Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ParseJson ¶ func ParseJson(res string) (*fastjson.Value, error) func PostForm ¶ func PostForm( reqbody map[string]interface{}, url string, actionHandler func(res http.ResponseWriter, req *http.Request), ) (respBody string, err error) func PostJson ¶ func PostJson( reqbody map[string]interface{}, url string, actionHandler func(res http.ResponseWriter, req *http.Request), ) (respBody string, err error) PostJson 发送 json 请求 Types ¶ type ReqBody ¶ type ReqBody map[string]interface{} Source Files ¶ View all Source files post.go Click to show internal directories. Click to hide internal directories.