Documentation ¶
Index ¶
- func Get(url string, queryParams map[string]string, headers map[string]string) (resp *rest.Response, err error)
- func GetJson(url string, queryParams map[string]string, headers map[string]string) (byts []byte, err error)
- func Post(url string, body []byte, headers map[string]string) (resp *rest.Response, err error)
- func PostForQueryParam(url string, queryParams map[string]string, headers map[string]string) (resp *rest.Response, err error)
- func PostForWWWForm(urlStr string, params map[string]string, headers map[string]string) (map[string]interface{}, error)
- func PostForWWWFormForAll(urlStr string, bodyData io.Reader, headers map[string]string) ([]byte, error)
- func PostForWWWFormForBytres(urlStr string, params map[string]string, headers map[string]string) ([]byte, error)
- func PostForWWWFormReXML(urlStr string, params map[string]string, headers map[string]string) ([]byte, error)
- func Put(url string, body []byte, headers map[string]string) (resp *rest.Response, err error)
- func RequestBoy(url string, body []byte, headers map[string]string, method rest.Method) (resp *rest.Response, err error)
- func RequestBoyForQueryParam(url string, queryParams map[string]string, headers map[string]string, ...) (resp *rest.Response, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostForQueryParam ¶
func PostForWWWForm ¶
func PostForWWWFormForAll ¶
func PostForWWWFormForBytres ¶
func PostForWWWFormReXML ¶
func RequestBoy ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.