mock_limit

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_limit is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLimit

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

MockLimit is a mock of Limit interface.

func NewMockLimit

func NewMockLimit(ctrl *gomock.Controller) *MockLimit

NewMockLimit creates a new mock instance.

func (*MockLimit) Check

func (m *MockLimit) Check(arg0 context.Context, arg1 string) (uint64, error)

Check mocks base method.

func (*MockLimit) Close

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

Close mocks base method.

func (*MockLimit) EXPECT

func (m *MockLimit) EXPECT() *MockLimitMockRecorder

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

func (*MockLimit) Init

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

Init mocks base method.

func (*MockLimit) Name

func (m *MockLimit) Name() string

Name mocks base method.

func (*MockLimit) Run

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

Run mocks base method.

type MockLimitMockRecorder

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

MockLimitMockRecorder is the mock recorder for MockLimit.

func (*MockLimitMockRecorder) Check

func (mr *MockLimitMockRecorder) Check(arg0, arg1 interface{}) *gomock.Call

Check indicates an expected call of Check.

func (*MockLimitMockRecorder) Close

func (mr *MockLimitMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockLimitMockRecorder) Init

func (mr *MockLimitMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockLimitMockRecorder) Name

func (mr *MockLimitMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockLimitMockRecorder) Run

func (mr *MockLimitMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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