metricsmock

package
v1.12.0-config-pebble-... Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package metricsmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

Metrics is a mock of Metrics interface.

func NewMetrics

func NewMetrics(ctrl *gomock.Controller) *Metrics

NewMetrics creates a new mock instance.

func (*Metrics) AfterRequest

func (m *Metrics) AfterRequest(arg0 *rpc.RequestInfo)

AfterRequest mocks base method.

func (*Metrics) EXPECT

func (m *Metrics) EXPECT() *MetricsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Metrics) IncTxRefreshHits

func (m *Metrics) IncTxRefreshHits()

IncTxRefreshHits mocks base method.

func (*Metrics) IncTxRefreshMisses

func (m *Metrics) IncTxRefreshMisses()

IncTxRefreshMisses mocks base method.

func (*Metrics) IncTxRefreshes

func (m *Metrics) IncTxRefreshes()

IncTxRefreshes mocks base method.

func (*Metrics) InterceptRequest

func (m *Metrics) InterceptRequest(arg0 *rpc.RequestInfo) *http.Request

InterceptRequest mocks base method.

func (*Metrics) MarkBlockAccepted

func (m *Metrics) MarkBlockAccepted(arg0 block.Block) error

MarkBlockAccepted mocks base method.

func (*Metrics) MarkTxAccepted

func (m *Metrics) MarkTxAccepted(arg0 *txs.Tx) error

MarkTxAccepted mocks base method.

type MetricsMockRecorder

type MetricsMockRecorder struct {
	// contains filtered or unexported fields
}

MetricsMockRecorder is the mock recorder for Metrics.

func (*MetricsMockRecorder) AfterRequest

func (mr *MetricsMockRecorder) AfterRequest(arg0 any) *gomock.Call

AfterRequest indicates an expected call of AfterRequest.

func (*MetricsMockRecorder) IncTxRefreshHits

func (mr *MetricsMockRecorder) IncTxRefreshHits() *gomock.Call

IncTxRefreshHits indicates an expected call of IncTxRefreshHits.

func (*MetricsMockRecorder) IncTxRefreshMisses

func (mr *MetricsMockRecorder) IncTxRefreshMisses() *gomock.Call

IncTxRefreshMisses indicates an expected call of IncTxRefreshMisses.

func (*MetricsMockRecorder) IncTxRefreshes

func (mr *MetricsMockRecorder) IncTxRefreshes() *gomock.Call

IncTxRefreshes indicates an expected call of IncTxRefreshes.

func (*MetricsMockRecorder) InterceptRequest

func (mr *MetricsMockRecorder) InterceptRequest(arg0 any) *gomock.Call

InterceptRequest indicates an expected call of InterceptRequest.

func (*MetricsMockRecorder) MarkBlockAccepted

func (mr *MetricsMockRecorder) MarkBlockAccepted(arg0 any) *gomock.Call

MarkBlockAccepted indicates an expected call of MarkBlockAccepted.

func (*MetricsMockRecorder) MarkTxAccepted

func (mr *MetricsMockRecorder) MarkTxAccepted(arg0 any) *gomock.Call

MarkTxAccepted indicates an expected call of MarkTxAccepted.

Jump to

Keyboard shortcuts

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