Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.9.82 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockcacheAccessor

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

MockcacheAccessor is a mock of cacheAccessor interface.

func NewMockcacheAccessor

func NewMockcacheAccessor(ctrl *gomock.Controller) *MockcacheAccessor

NewMockcacheAccessor creates a new mock instance.

func (*MockcacheAccessor) AllowRateLimit

func (m *MockcacheAccessor) AllowRateLimit(ctx context.Context, key string, interval time.Duration, burst int, ttl time.Duration) (bool, error)

AllowRateLimit mocks base method.

func (*MockcacheAccessor) EXPECT

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

type MockcacheAccessorMockRecorder

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

MockcacheAccessorMockRecorder is the mock recorder for MockcacheAccessor.

func (*MockcacheAccessorMockRecorder) AllowRateLimit

func (mr *MockcacheAccessorMockRecorder) AllowRateLimit(ctx, key, interval, burst, ttl any) *gomock.Call

AllowRateLimit indicates an expected call of AllowRateLimit.

Jump to

Keyboard shortcuts

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