Documentation ¶
Overview ¶
Package mock_metrics is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDBMetrics ¶
type MockDBMetrics struct {
// contains filtered or unexported fields
}
MockDBMetrics is a mock of DBMetrics interface.
func NewMockDBMetrics ¶
func NewMockDBMetrics(ctrl *gomock.Controller) *MockDBMetrics
NewMockDBMetrics creates a new mock instance.
func (*MockDBMetrics) AddDuration ¶
func (m *MockDBMetrics) AddDuration(funcName string, duration time.Duration)
AddDuration mocks base method.
func (*MockDBMetrics) EXPECT ¶
func (m *MockDBMetrics) EXPECT() *MockDBMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDBMetrics) IncreaseErrors ¶
func (m *MockDBMetrics) IncreaseErrors(funcName string)
IncreaseErrors mocks base method.
type MockDBMetricsMockRecorder ¶
type MockDBMetricsMockRecorder struct {
// contains filtered or unexported fields
}
MockDBMetricsMockRecorder is the mock recorder for MockDBMetrics.
func (*MockDBMetricsMockRecorder) AddDuration ¶
func (mr *MockDBMetricsMockRecorder) AddDuration(funcName, duration interface{}) *gomock.Call
AddDuration indicates an expected call of AddDuration.
func (*MockDBMetricsMockRecorder) IncreaseErrors ¶
func (mr *MockDBMetricsMockRecorder) IncreaseErrors(funcName interface{}) *gomock.Call
IncreaseErrors indicates an expected call of IncreaseErrors.
Click to show internal directories.
Click to hide internal directories.