/
Recorder.go
26 lines (20 loc) · 909 Bytes
/
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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package metrics
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: id, quantity
func (_m *Recorder) AddInflightRequests(id string, quantity int) {
_m.Called(id, quantity)
}
// ObserveHTTPRequestDuration provides a mock function with given fields: id, duration, method, code
func (_m *Recorder) ObserveHTTPRequestDuration(id string, duration time.Duration, method string, code string) {
_m.Called(id, duration, method, code)
}
// ObserveHTTPResponseSize provides a mock function with given fields: id, sizeBytes, method, code
func (_m *Recorder) ObserveHTTPResponseSize(id string, sizeBytes int64, method string, code string) {
_m.Called(id, sizeBytes, method, code)
}