Documentation ¶
Overview ¶
Package services_mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCounterServiceInterface ¶
type MockCounterServiceInterface struct {
// contains filtered or unexported fields
}
MockCounterServiceInterface is a mock of CounterServiceInterface interface.
func NewMockCounterServiceInterface ¶
func NewMockCounterServiceInterface(ctrl *gomock.Controller) *MockCounterServiceInterface
NewMockCounterServiceInterface creates a new mock instance.
func (*MockCounterServiceInterface) Count ¶
func (m *MockCounterServiceInterface) Count() int64
Count mocks base method.
func (*MockCounterServiceInterface) EXPECT ¶
func (m *MockCounterServiceInterface) EXPECT() *MockCounterServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCounterServiceInterface) Hit ¶
func (m *MockCounterServiceInterface) Hit() int64
Hit mocks base method.
func (*MockCounterServiceInterface) Window ¶
func (m *MockCounterServiceInterface) Window() []models.Entry
Window mocks base method.
type MockCounterServiceInterfaceMockRecorder ¶
type MockCounterServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCounterServiceInterfaceMockRecorder is the mock recorder for MockCounterServiceInterface.
func (*MockCounterServiceInterfaceMockRecorder) Count ¶
func (mr *MockCounterServiceInterfaceMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count.
func (*MockCounterServiceInterfaceMockRecorder) Hit ¶
func (mr *MockCounterServiceInterfaceMockRecorder) Hit() *gomock.Call
Hit indicates an expected call of Hit.
func (*MockCounterServiceInterfaceMockRecorder) Window ¶
func (mr *MockCounterServiceInterfaceMockRecorder) Window() *gomock.Call
Window indicates an expected call of Window.
type MockRateLimiterInterface ¶
type MockRateLimiterInterface struct {
// contains filtered or unexported fields
}
MockRateLimiterInterface is a mock of RateLimiterInterface interface.
func NewMockRateLimiterInterface ¶
func NewMockRateLimiterInterface(ctrl *gomock.Controller) *MockRateLimiterInterface
NewMockRateLimiterInterface creates a new mock instance.
func (*MockRateLimiterInterface) Dump ¶
func (m *MockRateLimiterInterface) Dump() error
Dump mocks base method.
func (*MockRateLimiterInterface) EXPECT ¶
func (m *MockRateLimiterInterface) EXPECT() *MockRateLimiterInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRateLimiterInterfaceMockRecorder ¶
type MockRateLimiterInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRateLimiterInterfaceMockRecorder is the mock recorder for MockRateLimiterInterface.
func (*MockRateLimiterInterfaceMockRecorder) Dump ¶
func (mr *MockRateLimiterInterfaceMockRecorder) Dump() *gomock.Call
Dump indicates an expected call of Dump.
func (*MockRateLimiterInterfaceMockRecorder) Hit ¶
func (mr *MockRateLimiterInterfaceMockRecorder) Hit(ipAddr interface{}) *gomock.Call
Hit indicates an expected call of Hit.