Documentation ¶
Index ¶
- func Delete(url string) error
- func Do(req *http.Request) (resp *http.Response, err error)
- func DownloadUrl(fileUrl string) (filename string, content []byte, e error)
- func DownloadUrl2File(url, fileName string)
- func Get(url string) ([]byte, error)
- func GetLocalAddr() string
- func GetOutNetWorkIp() string
- func InetAton(ipnr net.IP) uint32
- func InetNtoa(ipnr uint32) net.IP
- func PostBytes(url string, body []byte) ([]byte, error)
- func PostForm(url string, values url.Values) ([]byte, error)
- func PostFormOnly(url string, values url.Values) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadUrl2File ¶
func DownloadUrl2File(url, fileName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.