/
Recorder.go
28 lines (21 loc) · 1 KB
/
Recorder.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by mockery v1.0.0. DO NOT EDIT.
package metrics
import context "context"
import mock "github.com/stretchr/testify/mock"
import time "time"
// Recorder is an autogenerated mock type for the Recorder type
type Recorder struct {
mock.Mock
}
// AddInflightRequests provides a mock function with given fields: ctx, id, quantity
func (_m *Recorder) AddInflightRequests(ctx context.Context, id string, quantity int) {
_m.Called(ctx, id, quantity)
}
// ObserveHTTPRequestDuration provides a mock function with given fields: ctx, id, duration, method, code
func (_m *Recorder) ObserveHTTPRequestDuration(ctx context.Context, id string, duration time.Duration, method string, code string) {
_m.Called(ctx, id, duration, method, code)
}
// ObserveHTTPResponseSize provides a mock function with given fields: ctx, id, sizeBytes, method, code
func (_m *Recorder) ObserveHTTPResponseSize(ctx context.Context, id string, sizeBytes int64, method string, code string) {
_m.Called(ctx, id, sizeBytes, method, code)
}