mirror of
https://github.com/minio/minio.git
synced 2026-11-05 08:30:17 +00:00
Server side speedtest implementation (#12750)
This commit is contained in:
1 parent
471b4fd0c9
commit
aa0c28809b
10 files changed
+297
-4
No files matched your search
@@ -204,6 +204,8 @@ func registerAdminRouter(router *mux.Router, enableConfigOps bool) {
|
||||
Queries("paths", "{paths:.*}").HandlerFunc(gz(httpTraceHdrs(adminAPI.ForceUnlockHandler)))
|
||||
}
|
||||
|
||||
adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest").HandlerFunc(httpTraceHdrs(adminAPI.SpeedtestHandler))
|
||||
|
||||
// HTTP Trace
|
||||
adminRouter.Methods(http.MethodGet).Path(adminVersion + "/trace").HandlerFunc(gz(adminAPI.TraceHandler))
|
||||
|
||||
|
||||
Reference in new issue
Block a user