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() store.Driver
- func IPFSDriver() store.Driver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpDeleteJson ¶ added in v0.0.4
func HttpDeleteJson(url string, args ...Map) Map
func HttpDownloadFile ¶ added in v0.0.4
发送HTTP download
func HttpFormJson ¶ added in v0.0.4
func HttpFormJson(url string, data Map) Map
func HttpGetBody ¶ added in v0.0.4
func HttpGetBody(url string, args ...Map) (io.ReadCloser, error)
func HttpGetJson ¶ added in v0.0.4
func HttpGetJson(url string) Map
func HttpPostBytes ¶ added in v0.0.4
args是HEADER自定的
func HttpPostJson ¶ added in v0.0.4
func HttpPostXml ¶ added in v0.0.4
func HttpUpload ¶ added in v0.0.4
func HttpUploadReader ¶ added in v0.0.4
func IPCSDriver ¶ added in v0.0.4
func IPFSDriver ¶ added in v0.0.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.