Documentation ¶
Index ¶
- func HttpDelete(url string, args ...Map) string
- func HttpDeleteJson(url string, args ...Map) Map
- func HttpDownload(url, file string) error
- func HttpDownloadFile(url string, file *os.File) error
- func HttpForm(uuu string, data Map) string
- func HttpFormJson(url string, data Map) Map
- func HttpGet(url string, args ...Map) string
- func HttpGetBody(url string, args ...Map) (io.ReadCloser, error)
- func HttpGetJson(url string) Map
- func HttpPost(url string, bodyType string, body io.Reader, args ...Map) (string, error)
- func HttpPostBytes(url string, bodyType string, body io.Reader, args ...Map) []byte
- func HttpPostJson(url string, bodyType string, body io.Reader, args ...Map) (Map, error)
- func HttpPostXml(url string, bodyType string, body io.Reader, args ...Map) (Map, error)
- func HttpUpload(url string, name, file string, args ...Map) (string, error)
- func HttpUploadReader(url string, field, name string, file io.Reader, args ...Map) ([]byte, error)
- func IPCSDriver() storage.Driver
- func IPFSDriver() storage.Driver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpDeleteJson ¶
func HttpDeleteJson(url string, args ...Map) Map
func HttpFormJson ¶
func HttpFormJson(url string, data Map) Map
func HttpGetBody ¶
func HttpGetBody(url string, args ...Map) (io.ReadCloser, error)
func HttpGetJson ¶
func HttpGetJson(url string) Map
func HttpPostBytes ¶
args是HEADER自定的
func HttpPostJson ¶
func HttpPostXml ¶
func HttpUploadReader ¶
func IPCSDriver ¶
func IPFSDriver ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.