store_ipfs

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 18 Imported by: 1

README

store-default

chefgo default store driver.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpDelete added in v0.0.4

func HttpDelete(url string, args ...Map) string

发送HTTP DELETE请求

func HttpDeleteJson added in v0.0.4

func HttpDeleteJson(url string, args ...Map) Map

func HttpDownload added in v0.0.4

func HttpDownload(url, file string) error

发送HTTP download

func HttpDownloadFile added in v0.0.4

func HttpDownloadFile(url string, file *os.File) error

发送HTTP download

func HttpForm added in v0.0.4

func HttpForm(uuu string, data Map) string

func HttpFormJson added in v0.0.4

func HttpFormJson(url string, data Map) Map

func HttpGet added in v0.0.4

func HttpGet(url string, args ...Map) string

发送HTTP GET请求

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 HttpPost added in v0.0.4

func HttpPost(url string, bodyType string, body io.Reader, args ...Map) (string, error)

func HttpPostBytes added in v0.0.4

func HttpPostBytes(url string, bodyType string, body io.Reader, args ...Map) []byte

args是HEADER自定的

func HttpPostJson added in v0.0.4

func HttpPostJson(url string, bodyType string, body io.Reader, args ...Map) (Map, error)

func HttpPostXml added in v0.0.4

func HttpPostXml(url string, bodyType string, body io.Reader, args ...Map) (Map, error)

func HttpUpload added in v0.0.4

func HttpUpload(url string, name, file string, args ...Map) (string, error)

func HttpUploadReader added in v0.0.4

func HttpUploadReader(url string, field, name string, file io.Reader, args ...Map) ([]byte, error)

func IPCSDriver added in v0.0.4

func IPCSDriver() store.Driver

func IPFSDriver added in v0.0.4

func IPFSDriver() store.Driver

Types

This section is empty.

Jump to

Keyboard shortcuts

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