Documentation ¶
Index ¶
- Constants
- func HttpDelete(httpUrl string) ([]byte, error)
- func HttpDoRequest(req *http.Request) ([]byte, error)
- func HttpDoRequestWithTime(req *http.Request, timeoutInSecond int, end2endTimeoutInSecond int) ([]byte, error)
- func HttpFromData(httpUrl string, params map[string]string) ([]byte, error)
- func HttpGet(httpUrl string, params map[string]string) ([]byte, error)
- func HttpGetWithTimeOutAndRetry(httpUrl string, params map[string]string, ...) ([]byte, error)
- func HttpPost(httpUrl string, params map[string]string) ([]byte, error)
- func HttpPostJsonWithHeaders(httpUrl string, body []byte, headers map[string]string, ...) ([]byte, error)
- func HttpPostJsonWithHeadersWithTime(httpUrl string, body []byte, headers map[string]string, ...) ([]byte, error)
- func HttpPostWithHeaders(httpUrl string, body string, headers map[string]string, ...) ([]byte, error)
- func HttpPostWithHeadersWithTime(httpUrl string, body string, headers map[string]string, ...) ([]byte, error)
Constants ¶
View Source
const ( DEFAULT_DIAL_TIMEOUT int = 10 DEFAULT_END2END_TIMEOUT int = 120 RETRY_COUNT = 2 RETRY_INTERVAL = 10 RETRY_INTERVAL_INCREMENT = 10 )
Variables ¶
This section is empty.
Functions ¶
func HttpDelete ¶
func HttpDoRequestWithTime ¶
func HttpPostJsonWithHeaders ¶
func HttpPostWithHeaders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.