mocks

package
v4.21.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 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 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