1. 首页
  2. 编程语言
  3. 其他
  4. Go的HTTP开发包Fluent.zip

Go的HTTP开发包Fluent.zip

上传者: 2019-09-03 07:54:01上传 ZIP文件 5.37KB 热度 29次
Fluent是Go语言的HTTP客户端开发包,支持超时、重试等。示例代码:package mainimport (  "fmt"  "github.com/lafikl/fluent"  "time")func main() {  req := fluent.New()  req.Post("http://example.com").    InitialInterval(time.Duration(time.Millisecond)).    Json([]int{1, 3, 4}).    Retry(3)  res, err := 
下载地址
用户评论