mocks

package
v4.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 Redis

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

Redis is a mock of Redis interface.

func NewRedis

func NewRedis(ctrl *gomock.Controller) *Redis

NewRedis creates a new mock instance.

func (*Redis) EXPECT

func (m *Redis) EXPECT() *RedisMockRecorder

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

func (*Redis) Exclusive

func (m *Redis) Exclusive(arg0 context.Context, arg1 string, arg2 time.Duration, arg3 func(context.Context) error) error

Exclusive mocks base method.

func (*Redis) Ping

func (m *Redis) Ping() error

Ping mocks base method.

type RedisMockRecorder

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

RedisMockRecorder is the mock recorder for Redis.

func (*RedisMockRecorder) Exclusive

func (mr *RedisMockRecorder) Exclusive(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Exclusive indicates an expected call of Exclusive.

func (*RedisMockRecorder) Ping

func (mr *RedisMockRecorder) Ping() *gomock.Call

Ping indicates an expected call of Ping.

Jump to

Keyboard shortcuts

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