package
0.0.0-20171104074452-da45c0250b01
Repository: https://github.com/bping/go-toolkit.git
Documentation: pkg.go.dev

# README

尝试使用新的版本

Curl

curl请求。

 
  • Client:封装http.Client.修饰http.Client。处理请求过程加入一些必要的自定义处理。如:慢请求记录
  • Request:接口类型。构建并返回http.Request
  • Response:封装http.Response.修饰http.Response。集成一些常用的处理响应内容方法。如:ToJson() 返回json格式内容

TODO

1、加上熔断模式机制?