Versions in this module Expand all Collapse all v1 v1.0.8 Mar 16, 2021 Changes in this version + func FakeHttpResponse(status int, body string) (resp *http.Response) + type HttpAgent struct + func (agent *HttpAgent) Delete(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + func (agent *HttpAgent) Get(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + func (agent *HttpAgent) Post(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + func (agent *HttpAgent) Put(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + func (agent *HttpAgent) Request(method string, path string, header http.Header, timeoutMs uint64, ...) (response *http.Response, err error) + func (agent *HttpAgent) RequestOnlyResult(method string, path string, header http.Header, timeoutMs uint64, ...) string + type IHttpAgent interface + Delete func(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + Get func(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + Post func(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + Put func(path string, header http.Header, timeoutMs uint64, params map[string]string) (response *http.Response, err error) + Request func(method string, path string, header http.Header, timeoutMs uint64, ...) (response *http.Response, err error) + RequestOnlyResult func(method string, path string, header http.Header, timeoutMs uint64, ...) string