Documentation
¶
Index ¶
- func GetRequest(url string) (statusCode int32, body []byte, err error)
- func PostFormRequest(url string, json []byte, header, cookie map[string]string) (statusCode int32, body []byte, err error)
- func PostJsonRequest(url string, json []byte, header, cookie map[string]string) (statusCode int32, body []byte, err error)
- type IPLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequest ¶
GetRequest 一个简单的 Get 请求
Types ¶
type IPLocation ¶
func GetIPLocation ¶
func GetIPLocation(ip string) (l *IPLocation, e error)
Click to show internal directories.
Click to hide internal directories.