【文件属性】:
文件名称:请求:golang的http客户端
文件大小:34KB
文件格式:ZIP
更新时间:2021-02-03 19:53:24
go golang http client axios
请求
受 启发的golang的HTTP客户端。 如果您有关于axios或请求的经验,则会喜欢的。 没有第三种依赖。
产品特点
从Golang发出请求
转换请求和响应数据
正在安装
去国防部:
go get github.com/monaco-io/request
方法
选项
得到
头
开机自检
放
删除
跟踪
连接
例
开机自检
package main
import (
"github.com/monaco-io/request"
)
func main () {
client := request. Client {
URL : "https://
【文件预览】:
request-master
----.gitignore(308B)
----request()
--------plugin.go(244B)
--------request.go(3KB)
--------request_test.go(601B)
--------tls.go(685B)
--------header.go(770B)
--------url.go(2KB)
--------cookies.go(553B)
--------method.go(403B)
--------timeout.go(2KB)
--------body.go(5KB)
--------transport.go(468B)
--------auth.go(1KB)
--------proxy.go(1KB)
----README.md(4KB)
----request.go(1KB)
----request_test.go(4KB)
----.github()
--------workflows()
--------FUNDING.yml(46B)
----doc.go(1KB)
----context()
--------context_test.go(2KB)
--------trace.go(2KB)
--------error.go(550B)
--------context.go(955B)
--------content.go(859B)
----examples()
--------example.go(16B)
--------header()
----version.go(92B)
----LICENSE(1KB)
----response()
--------reponse.go(4KB)
----hook()
--------hook.go(709B)
----go.mod(241B)
----CONTRIBUTING.md(16B)
----cli()
--------main.go(6KB)
----model.go(3KB)
----CODE_OF_CONDUCT.md(3KB)
----benchmark()
--------bechmark_test.go(230B)
--------report.go(10KB)
--------bechmark.go(6KB)
----go.sum(2KB)
----Makefile(67B)