fix: function names

This commit is contained in:
Elton Minetto
2020-06-30 13:37:51 -03:00
parent 4c6b43b04d
commit 2ae9c39824
11 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
//Metrics to prometheus
func Metrics(mService metric.UseCase) negroni.HandlerFunc {
func Metrics(mService metric.Service) negroni.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request, next http.HandlerFunc) {
appMetric := metric.NewHTTP(r.URL.Path, r.Method)
appMetric.Started()