http

package
v0.0.0-...-bd7d7c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpGet

func HttpGet(url string) (string, error)

* @description: Just Url Get Request @param url: url @return: result and error

func HttpGetHasCookie

func HttpGetHasCookie(url, cookie, param string) (string, []string, error)

* @description: Http Get Request Has Cookie @param url: url @param cookie: cookie string @param param: param @return: result and error

func HttpPost

func HttpPost(url, cookie, param, contentType string) (string, []string, error)

* @description: Http Post Request Has Cookie @param url: url @param cookie: cookie string @param param: param @param contentType: Content-Type e.g. application/json,application/x-www-form-urlencoded @return: result and cookie and error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL