mocks

package
v4.23.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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.

Package mocks is a generated GoMock package.

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 AMQPConnection added in v4.23.0

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

AMQPConnection is a mock of Connection interface.

func NewAMQPConnection added in v4.23.0

func NewAMQPConnection(ctrl *gomock.Controller) *AMQPConnection

NewAMQPConnection creates a new mock instance.

func (*AMQPConnection) Close added in v4.23.0

func (m *AMQPConnection) Close() error

Close mocks base method.

func (*AMQPConnection) EXPECT added in v4.23.0

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

func (*AMQPConnection) IsClosed added in v4.23.0

func (m *AMQPConnection) IsClosed() bool

IsClosed mocks base method.

type AMQPConnectionMockRecorder added in v4.23.0

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

AMQPConnectionMockRecorder is the mock recorder for AMQPConnection.

func (*AMQPConnectionMockRecorder) Close added in v4.23.0

func (mr *AMQPConnectionMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*AMQPConnectionMockRecorder) IsClosed added in v4.23.0

func (mr *AMQPConnectionMockRecorder) IsClosed() *gomock.Call

IsClosed indicates an expected call of IsClosed.

type ReadCloser added in v4.22.3

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

ReadCloser is a mock of ReadCloser interface.

func NewReadCloser added in v4.22.3

func NewReadCloser(ctrl *gomock.Controller) *ReadCloser

NewReadCloser creates a new mock instance.

func (*ReadCloser) Close added in v4.22.3

func (m *ReadCloser) Close() error

Close mocks base method.

func (*ReadCloser) EXPECT added in v4.22.3

func (m *ReadCloser) EXPECT() *ReadCloserMockRecorder

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

func (*ReadCloser) Read added in v4.22.3

func (m *ReadCloser) Read(arg0 []byte) (int, error)

Read mocks base method.

type ReadCloserMockRecorder added in v4.22.3

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

ReadCloserMockRecorder is the mock recorder for ReadCloser.

func (*ReadCloserMockRecorder) Close added in v4.22.3

func (mr *ReadCloserMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*ReadCloserMockRecorder) Read added in v4.22.3

func (mr *ReadCloserMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

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