mocks_ratelimiter

package
v1.6.0-preview.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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