The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
guonaihong

gout v0.0.11 版本--细节优化,收点需求欢迎讨论

  •  
  •   guonaihong ·
    guonaihong · Apr 13, 2020 · 1940 views
    This topic created in 2249 days ago, the information mentioned may be changed or developed.

    gout 的自我介绍

    gout 是 go 写的 http 客户端,为提高工作效率而开发。有丰富的编码器,让你的结构体 或 map 等很容易地转成 query, header, body 发送到服务端。也有 backoff 重试算法,访问失败可以重试但不会搞崩服务端。有压测模块,稍加一点就可以把普通请求变成压测任务。也有丰富的解码器,丰富到连 http header 都不放过。

    更多文档地址

    https://github.com/guonaihong/gout

    构架图

    下图是构架图,本月底会有重要成员加入到导入器,看过我以前发贴的童鞋可能已经猜到,解析 curl,这个 topic 属于 go 的无人区,可以直接在 go 里面解析 curl 命令生成*http.Request,想想都兴奋。

    gout-ad.png

    下个版本展望

    分页迭代器

    现在很多 api 资源都是以分页形式给出。提供此功能可以更易于工作。 更多细节也欢迎计论 https://github.com/guonaihong/gout/issues/211

    更多

    对 client 这块有想法的小伙伴可以提出来 https://github.com/guonaihong/gout/issues/new

    3 replies    2020-06-17 09:11:52 +08:00
    vus520
        1
    vus520  
       Apr 13, 2020
    持续关注
    guonaihong
        2
    guonaihong  
    OP
       Apr 13, 2020
    @vus520 感谢啦。。。
    windghoul
        3
    windghoul  
       Jun 17, 2020
    已经试用~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2866 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 15:17 · PVG 23:17 · LAX 08:17 · JFK 11:17
    ♥ Do have faith in what you're doing.