- 授权协议: MIT
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/lafikl/fluent
软件介绍
Fluent 是 Go 语言的 HTTP 客户端开发包,支持超时、重试等。
示例代码:
package main
import (
"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 := req.Send()
if err != nil {
fmt.Println(err)
}
fmt.Println("donne ", res)
// They can be separated if you don't like chaining ;)
// for example:
// req.Get("http://example.com")
// req.Retry(3)
}
Learn Python the Hard Way
Zed Shaw / Example Product Manufacturer / 2011
This is a very beginner book for people who want to learn to code. If you can already code then the book will probably drive you insane. It's intended for people who have no coding chops to build up t......一起来看看 《Learn Python the Hard Way》 这本书的介绍吧!
