MCPcopy Create free account
hub / github.com/Angey40/BaiduPCS-Go / Fetch

Method Fetch

downloader/fetch.go:26–65  ·  view source on GitHub ↗

Fetch 实现 http/https 访问 和 GET/POST 请求, 根据给定的 method (GET, POST, HEAD, PUT 等等), urlStr (网址), post (post 数据), header (header 请求头数据), 进行网站访问。 返回值分别为 网站主体, 错误

(method string, urlStr string, post interface{}, header map[string]string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

QuotaInfoMethod · 0.95
RemoveMethod · 0.95
MkdirMethod · 0.95
FilesDirectoriesMetaMethod · 0.95
FileListMethod · 0.95
NewWithBDUSSFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected