mock_repository

package
v0.0.0-...-0077085 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRedisPooler

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

MockRedisPooler is a mock of RedisPooler interface

func NewMockRedisPooler

func NewMockRedisPooler(ctrl *gomock.Controller) *MockRedisPooler

NewMockRedisPooler creates a new mock instance

func (*MockRedisPooler) ActiveCount

func (m *MockRedisPooler) ActiveCount() int

ActiveCount mocks base method

func (*MockRedisPooler) Close

func (m *MockRedisPooler) Close() error

Close mocks base method

func (*MockRedisPooler) EXPECT

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

func (*MockRedisPooler) Get

func (m *MockRedisPooler) Get() redis.Conn

Get mocks base method

func (*MockRedisPooler) GetContext

func (m *MockRedisPooler) GetContext(ctx context.Context) (redis.Conn, error)

GetContext mocks base method

func (*MockRedisPooler) IdleCount

func (m *MockRedisPooler) IdleCount() int

IdleCount mocks base method

func (*MockRedisPooler) Stats

func (m *MockRedisPooler) Stats() redis.PoolStats

Stats mocks base method

type MockRedisPoolerMockRecorder

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

MockRedisPoolerMockRecorder is the mock recorder for MockRedisPooler

func (*MockRedisPoolerMockRecorder) ActiveCount

func (mr *MockRedisPoolerMockRecorder) ActiveCount() *gomock.Call

ActiveCount indicates an expected call of ActiveCount

func (*MockRedisPoolerMockRecorder) Close

Close indicates an expected call of Close

func (*MockRedisPoolerMockRecorder) Get

Get indicates an expected call of Get

func (*MockRedisPoolerMockRecorder) GetContext

func (mr *MockRedisPoolerMockRecorder) GetContext(ctx interface{}) *gomock.Call

GetContext indicates an expected call of GetContext

func (*MockRedisPoolerMockRecorder) IdleCount

func (mr *MockRedisPoolerMockRecorder) IdleCount() *gomock.Call

IdleCount indicates an expected call of IdleCount

func (*MockRedisPoolerMockRecorder) Stats

Stats indicates an expected call of Stats

Jump to

Keyboard shortcuts

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