Documentation ¶
Index ¶
- Constants
- func Get(serviceName string, path string, headers map[string]string, ...) (int, error)
- func GetUrl(url string, headers map[string]string, params map[string]interface{}, ...) (int, error)
- func GetUrlWithTimeout(url string, headers map[string]string, params map[string]interface{}, ...) (int, error)
- func GetWithTimeout(serviceName string, path string, headers map[string]string, ...) (int, error)
- func Post(serviceName string, path string, headers map[string]string, ...) (int, error)
- func PostFile(url string, headers map[string]string, params map[string]interface{}, ...) (int, error)
- func PostFileWithTimeout(url string, headers map[string]string, params map[string]interface{}, ...) (int, error)
- func PostFormData(serviceName string, path string, headers map[string]string, params url.Values, ...) (int, error)
- func PostFormDataUrl(url string, headers map[string]string, params url.Values, result interface{}) (int, error)
- func PostFormDataUrlWithTimeout(url string, headers map[string]string, params url.Values, result interface{}, ...) (int, error)
- func PostFormDataWithTimeout(serviceName string, path string, headers map[string]string, params url.Values, ...) (int, error)
- func PostJSON(serviceName string, path string, headers map[string]string, params interface{}, ...) (int, error)
- func PostJSONUrl(url string, headers map[string]string, params interface{}, result interface{}) (int, error)
- func PostJSONUrlWithTimeout(url string, headers map[string]string, params interface{}, result interface{}, ...) (int, error)
- func PostJSONWithTimeout(serviceName string, path string, headers map[string]string, params interface{}, ...) (int, error)
- func PostUrl(url string, headers map[string]string, params map[string]interface{}, ...) (int, error)
- func PostUrlWithTimeout(url string, headers map[string]string, params map[string]interface{}, ...) (int, error)
- func PostWithTimeout(serviceName string, path string, headers map[string]string, ...) (int, error)
Constants ¶
View Source
const (
HTTP_LOG_ENABLE_KEY = "server.http.log.params"
)
Variables ¶
This section is empty.
Functions ¶
func GetUrlWithTimeout ¶ added in v0.6.12
func GetWithTimeout ¶ added in v0.6.12
func PostFileWithTimeout ¶ added in v0.6.12
func PostFormData ¶ added in v0.6.6
func PostFormDataUrl ¶ added in v0.6.6
func PostFormDataUrlWithTimeout ¶ added in v0.6.12
func PostFormDataWithTimeout ¶ added in v0.6.12
func PostJSONUrl ¶
func PostJSONUrlWithTimeout ¶ added in v0.6.12
func PostJSONWithTimeout ¶ added in v0.6.12
func PostUrlWithTimeout ¶ added in v0.6.12
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.