Documentation ¶
Index ¶
- Constants
- func HttpDelete(uri, tokenString string, params interface{}) ([]byte, error)
- func HttpGet(uri, tokenString string, params interface{}) ([]byte, error)
- func HttpGetNoToken(uri string, params interface{}) ([]byte, error)
- func HttpGetNoTokenTimeout(uri string, params interface{}, timeoutSecond *int) ([]byte, error)
- func HttpPost(uri, tokenString string, params interface{}) ([]byte, error)
- func HttpPostFile(url string, tokenString string, paramTexts map[string]string, ...) (string, error)
- func HttpPostNoToken(uri string, params interface{}) ([]byte, error)
- func HttpPut(uri, tokenString string, params interface{}) ([]byte, error)
- func HttpPutFile(url string, tokenString string, paramTexts map[string]string, ...) (string, error)
- func HttpRequest(httpMethod, uri, tokenString string, params interface{}, timeoutSecond *int) ([]byte, error)
- func HttpRequestFile(httpMethod, url string, tokenString string, paramTexts map[string]string, ...) (string, error)
- func HttpUploadFileByStream(uri, filefullpath string) ([]byte, error)
Constants ¶
View Source
const HTTP_CONTENT_TYPE_FORM = "application/x-www-form-urlencoded"
View Source
const HTTP_CONTENT_TYPE_JSON = "application/json; charset=UTF-8"
Variables ¶
This section is empty.
Functions ¶
func HttpDelete ¶
func HttpGetNoToken ¶
func HttpGetNoTokenTimeout ¶ added in v0.2.122
func HttpPostFile ¶
func HttpPostNoToken ¶
func HttpPutFile ¶
func HttpRequest ¶
func HttpRequestFile ¶
func HttpUploadFileByStream ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.