services_mock

package
v0.0.0-...-f16b5dc Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 3 Imported by: 0

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

Count mocks base method.

func (*MockCounterServiceInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCounterServiceInterface) Hit

Hit mocks base method.

func (*MockCounterServiceInterface) Window

Window mocks base method.

type MockCounterServiceInterfaceMockRecorder

type MockCounterServiceInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockCounterServiceInterfaceMockRecorder is the mock recorder for MockCounterServiceInterface.

func (*MockCounterServiceInterfaceMockRecorder) Count

Count indicates an expected call of Count.

func (*MockCounterServiceInterfaceMockRecorder) Hit

Hit indicates an expected call of Hit.

func (*MockCounterServiceInterfaceMockRecorder) Window

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRateLimiterInterface) Hit

func (m *MockRateLimiterInterface) Hit(ipAddr string) (int64, int64, bool)

Hit mocks base method.

type MockRateLimiterInterfaceMockRecorder

type MockRateLimiterInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockRateLimiterInterfaceMockRecorder is the mock recorder for MockRateLimiterInterface.

func (*MockRateLimiterInterfaceMockRecorder) Dump

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.

Jump to

Keyboard shortcuts

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