diff --git a/metrics/metrics.go b/metrics/metrics.go new file mode 100644 index 0000000..bb79408 --- /dev/null +++ b/metrics/metrics.go @@ -0,0 +1,11 @@ +package metrics + +import ( + "net/http" + + "github.com/origadmin/toolkits/context" +) + +type Metrics interface { + ObserverHTTP(ctx context.Context, request *http.Request, response *http.Response, err error) +}