mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	mock.Mock
}

Conn is a mocked implementation of a redigo Conn

func (*Conn) Close

func (c *Conn) Close() error

Close provides a mock function with given fields:

func (*Conn) Do

func (c *Conn) Do(commandName string, args ...interface{}) (reply interface{}, err error)

Do provides a mock function with given fields:

func (*Conn) Err

func (c *Conn) Err() error

Err provides a mock function with given fields:

func (*Conn) Flush

func (c *Conn) Flush() error

Flush provides a mock function with given fields:

func (*Conn) Receive

func (c *Conn) Receive() (reply interface{}, err error)

Receive provides a mock function with given fields:

func (*Conn) Send

func (c *Conn) Send(commandName string, args ...interface{}) error

Send provides a mock function with given fields:

type Pool

type Pool struct {
	mock.Mock
}

Pool is an autogenerated mock type for the Pool type

func (*Pool) Close

func (_m *Pool) Close() error

Close provides a mock function with given fields:

func (*Pool) Get

func (_m *Pool) Get() redigoredis.Conn

Get provides a mock function with given fields:

Jump to

Keyboard shortcuts

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