mock_limiter

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_limiter is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRpcLimiter

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

MockRpcLimiter is a mock of RpcLimiter interface.

func NewMockRpcLimiter

func NewMockRpcLimiter(ctrl *gomock.Controller) *MockRpcLimiter

NewMockRpcLimiter creates a new mock instance.

func (*MockRpcLimiter) Close

func (m *MockRpcLimiter) Close(arg0 context.Context) error

Close mocks base method.

func (*MockRpcLimiter) EXPECT

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

func (*MockRpcLimiter) Init

func (m *MockRpcLimiter) Init(arg0 *app.App) error

Init mocks base method.

func (*MockRpcLimiter) Name

func (m *MockRpcLimiter) Name() string

Name mocks base method.

func (*MockRpcLimiter) Run

func (m *MockRpcLimiter) Run(arg0 context.Context) error

Run mocks base method.

func (*MockRpcLimiter) WrapDRPCHandler

func (m *MockRpcLimiter) WrapDRPCHandler(arg0 drpc.Handler) drpc.Handler

WrapDRPCHandler mocks base method.

type MockRpcLimiterMockRecorder

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

MockRpcLimiterMockRecorder is the mock recorder for MockRpcLimiter.

func (*MockRpcLimiterMockRecorder) Close

func (mr *MockRpcLimiterMockRecorder) Close(arg0 any) *gomock.Call

Close indicates an expected call of Close.

func (*MockRpcLimiterMockRecorder) Init

func (mr *MockRpcLimiterMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockRpcLimiterMockRecorder) Name

Name indicates an expected call of Name.

func (*MockRpcLimiterMockRecorder) Run

func (mr *MockRpcLimiterMockRecorder) Run(arg0 any) *gomock.Call

Run indicates an expected call of Run.

func (*MockRpcLimiterMockRecorder) WrapDRPCHandler

func (mr *MockRpcLimiterMockRecorder) WrapDRPCHandler(arg0 any) *gomock.Call

WrapDRPCHandler indicates an expected call of WrapDRPCHandler.

Jump to

Keyboard shortcuts

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