Documentation ¶
Overview ¶
Package mocks_ratelimiter is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRateLimiter ¶
type MockRateLimiter struct {
// contains filtered or unexported fields
}
MockRateLimiter is a mock of RateLimiter interface.
func NewMockRateLimiter ¶
func NewMockRateLimiter(ctrl *gomock.Controller) *MockRateLimiter
NewMockRateLimiter creates a new mock instance.
func (*MockRateLimiter) EXPECT ¶
func (m *MockRateLimiter) EXPECT() *MockRateLimiterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRateLimiter) LimitReached ¶
func (m *MockRateLimiter) LimitReached(arg0 string) bool
LimitReached mocks base method.
type MockRateLimiterMockRecorder ¶
type MockRateLimiterMockRecorder struct {
// contains filtered or unexported fields
}
MockRateLimiterMockRecorder is the mock recorder for MockRateLimiter.
func (*MockRateLimiterMockRecorder) LimitReached ¶
func (mr *MockRateLimiterMockRecorder) LimitReached(arg0 interface{}) *gomock.Call
LimitReached indicates an expected call of LimitReached.
Click to show internal directories.
Click to hide internal directories.