mocks

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisClient

type RedisClient struct {
	mock.Mock
}

RedisClient is an autogenerated mock type for the RedisClient type

func (*RedisClient) OnPing

func (_m *RedisClient) OnPing() *RedisClient_Ping

func (*RedisClient) OnPingMatch

func (_m *RedisClient) OnPingMatch(matchers ...interface{}) *RedisClient_Ping

func (*RedisClient) OnSAdd

func (_m *RedisClient) OnSAdd(_a0 string, _a1 interface{}) *RedisClient_SAdd

func (*RedisClient) OnSAddMatch

func (_m *RedisClient) OnSAddMatch(matchers ...interface{}) *RedisClient_SAdd

func (*RedisClient) OnSCard

func (_m *RedisClient) OnSCard(_a0 string) *RedisClient_SCard

func (*RedisClient) OnSCardMatch

func (_m *RedisClient) OnSCardMatch(matchers ...interface{}) *RedisClient_SCard

func (*RedisClient) OnSIsMember

func (_m *RedisClient) OnSIsMember(_a0 string, _a1 interface{}) *RedisClient_SIsMember

func (*RedisClient) OnSIsMemberMatch

func (_m *RedisClient) OnSIsMemberMatch(matchers ...interface{}) *RedisClient_SIsMember

func (*RedisClient) OnSRem

func (_m *RedisClient) OnSRem(_a0 string, _a1 interface{}) *RedisClient_SRem

func (*RedisClient) OnSRemMatch

func (_m *RedisClient) OnSRemMatch(matchers ...interface{}) *RedisClient_SRem

func (*RedisClient) Ping

func (_m *RedisClient) Ping() *redis.StatusCmd

Ping provides a mock function with given fields:

func (*RedisClient) SAdd

func (_m *RedisClient) SAdd(_a0 string, _a1 interface{}) *redis.IntCmd

SAdd provides a mock function with given fields: _a0, _a1

func (*RedisClient) SCard

func (_m *RedisClient) SCard(_a0 string) *redis.IntCmd

SCard provides a mock function with given fields: _a0

func (*RedisClient) SIsMember

func (_m *RedisClient) SIsMember(_a0 string, _a1 interface{}) *redis.BoolCmd

SIsMember provides a mock function with given fields: _a0, _a1

func (*RedisClient) SRem

func (_m *RedisClient) SRem(_a0 string, _a1 interface{}) *redis.IntCmd

SRem provides a mock function with given fields: _a0, _a1

type RedisClient_Ping

type RedisClient_Ping struct {
	*mock.Call
}

func (RedisClient_Ping) Return

type RedisClient_SAdd

type RedisClient_SAdd struct {
	*mock.Call
}

func (RedisClient_SAdd) Return

func (_m RedisClient_SAdd) Return(_a0 *redis.IntCmd) *RedisClient_SAdd

type RedisClient_SCard

type RedisClient_SCard struct {
	*mock.Call
}

func (RedisClient_SCard) Return

type RedisClient_SIsMember

type RedisClient_SIsMember struct {
	*mock.Call
}

func (RedisClient_SIsMember) Return

type RedisClient_SRem

type RedisClient_SRem struct {
	*mock.Call
}

func (RedisClient_SRem) Return

func (_m RedisClient_SRem) Return(_a0 *redis.IntCmd) *RedisClient_SRem

Jump to

Keyboard shortcuts

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