mock_metrics

package
v0.0.0-...-095c751 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: MIT Imports: 3 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL