Documentation
¶
Overview ¶
Package mock_limit is a generated GoMock package.
Index ¶
- type MockLimit
- func (m *MockLimit) Check(arg0 context.Context, arg1 string) (uint64, error)
- func (m *MockLimit) Close(arg0 context.Context) error
- func (m *MockLimit) EXPECT() *MockLimitMockRecorder
- func (m *MockLimit) Init(arg0 *app.App) error
- func (m *MockLimit) Name() string
- func (m *MockLimit) Run(arg0 context.Context) error
- type MockLimitMockRecorder
- func (mr *MockLimitMockRecorder) Check(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLimitMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockLimitMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockLimitMockRecorder) Name() *gomock.Call
- func (mr *MockLimitMockRecorder) Run(arg0 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockLimit) EXPECT() *MockLimitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
Click to show internal directories.
Click to hide internal directories.