net/http 处理程序过滤器_Go语言_代码_相关文件_下载

上传者: 38334677 | 上传时间: 2022-07-13 18:08:24 | 文件大小: 35KB | 文件类型: ZIP
有用的 HTTP 处理程序的集合,形成过滤器的处理程序堆栈 API 处理程序包装器的签名以 http.Handler 接口结束并返回 http.Handler 接口。例如: func Log(w io.Writer, http.Handler) http.Handler func CORS(methods, origins []string, http.Handler) http.Handler 更多详情、使用方法,请下载后阅读README.md文件

文件下载

资源详情

[{"title":"( 41 个子文件 35KB ) net/http 处理程序过滤器_Go语言_代码_相关文件_下载\n\n","children":[{"title":"handy","children":[{"title":"retry","children":[{"title":"strategy.go <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"delay_test.go <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"retry.go <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"strategy_test.go <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"delay.go <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"retry_test.go <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"breaker","children":[{"title":"breaker.go <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"handler.go <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"metrics_test.go <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"doc.go <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"transport.go <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"simulation_test.go <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"transport_test.go <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"breaker_test.go <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"metrics.go <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"handler_test.go <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"rewrite","children":[{"title":"method.go <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"method_test.go <span style='color:#111;'> 858B </span>","children":null,"spread":false}],"spread":true},{"title":"doc.go <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"accept","children":[{"title":"accept_test.go <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"accept.go <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"proxy","children":[{"title":"proxy_test.go <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"proxy.go <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"redirect","children":[{"title":"https_test.go <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"https.go <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"cors","children":[{"title":"cors_test.go <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"cors.go <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"report","children":[{"title":"json_test.go <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"event.go <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"json.go <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"statsd","children":[{"title":"durations.go <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"doc.go <span style='color:#111;'> 87B </span>","children":null,"spread":false},{"title":"example_test.go <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"codes.go <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"instrumentation_test.go <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"encoding","children":[{"title":"gzip_test.go <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"gzip.go <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"atomic","children":[{"title":"doc.go <span style='color:#111;'> 288B </span>","children":null,"spread":false},{"title":"int.go <span style='color:#111;'> 647B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明