Go软件包,用于报告HTTP统计信息-Golang开发

时间:2021-05-26 18:13:29
【文件属性】:
文件名称:Go软件包,用于报告HTTP统计信息-Golang开发
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-26 18:13:29
Golang Networking go-httpstats用法:go-httpstats是一个Golang软件包,用于报告每个http.Handler的HTTP统计信息。 该库报告HTTP请求计数HTTP响应时间每个HTTP状态的HTTP请求计数HTTP res go-httpstats用法:go-httpstats是一个Golang程序包,用于报告每个http.Handler的HTTP统计信息。 该库报告HTTP请求计数HTTP响应时间每个HTTP状态的HTTP请求计数每个HTTP状态的HTTP请求时间HTTP响应时间的90%,95%,99%平均HTTP响应时间示例_example / main.go func main(){mw: = stats.New()处理程序:= mw.WrapHandleFunc(http.HandlerFunc(func(w http.ResponseWriter,r * http.Request){w.Write([] byte(“ hello
【文件预览】:
go-httpstats-master
----go.mod(94B)
----.github()
--------PULL_REQUEST_TEMPLATE.md(253B)
--------workflows()
----go.sum(354B)
----stats_test.go(1KB)
----stats.go(6KB)
----LICENSE(1KB)
----_example()
--------main.go(790B)
--------Makefile(87B)
----README.md(2KB)
----Makefile(130B)
----.gitignore(24B)

网友评论