Documentation ¶
Index ¶
- func Get(url string, timeout int, headers map[string]interface{}) (string, int, error)
- func JsonReq(r *JsonRequest) (string, int, error)
- func PostForm(postUrl string, timeout int, postData url.Values, ...) (string, int, error)
- func PostFormComplex(postUrl string, timeout int, postData url.Values, ...) (string, int, error)
- func Send(method string, url string, timeout int, headers map[string]interface{}, ...) (body string, code int, err error)
- func SendJson(url string, method string, data interface{}, timeout int, ...) (string, int, error)
- type JsonRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostForm ¶
func PostForm(postUrl string, timeout int, postData url.Values, headers map[string]interface{}) (string, int, error)
postData url.Values{"key": {"Value"}, "id": {"123"}}
func PostFormComplex ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.