mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 08:27:08 +08:00
Add metrics collector for HTTP status codes
This commit is contained in:
8
http/server/server.go
Normal file
8
http/server/server.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package server
|
||||
|
||||
import "net/http"
|
||||
|
||||
type Server interface {
|
||||
ServeHTTP(w http.ResponseWriter, r *http.Request)
|
||||
HTTPStatus() map[int]uint64
|
||||
}
|
Reference in New Issue
Block a user