Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync-filenode/limit (interfaces: Limit)
Generated by this command:
mockgen -destination mock_limit/mock_limit.go github.com/anyproto/any-sync-filenode/limit Limit
Package mock_limit is a generated GoMock package.
Index ¶
- type MockLimit
- func (m *MockLimit) Check(arg0 context.Context, arg1 string) (uint64, string, 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 any) *gomock.Call
- func (mr *MockLimitMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockLimitMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockLimitMockRecorder) Name() *gomock.Call
- func (mr *MockLimitMockRecorder) Run(arg0 any) *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 any) *gomock.Call
Check indicates an expected call of Check.
func (*MockLimitMockRecorder) Close ¶
func (mr *MockLimitMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockLimitMockRecorder) Init ¶
func (mr *MockLimitMockRecorder) Init(arg0 any) *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.
Click to show internal directories.
Click to hide internal directories.