mocks

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 1 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) OnSMembers added in v0.2.7

func (_m *RedisClient) OnSMembers(_a0 string) *RedisClient_SMembers

func (*RedisClient) OnSMembersMatch added in v0.2.7

func (_m *RedisClient) OnSMembersMatch(matchers ...interface{}) *RedisClient_SMembers

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() (string, error)

Ping provides a mock function with given fields:

func (*RedisClient) SAdd

func (_m *RedisClient) SAdd(_a0 string, _a1 interface{}) (int64, error)

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

func (*RedisClient) SCard

func (_m *RedisClient) SCard(_a0 string) (int64, error)

SCard provides a mock function with given fields: _a0

func (*RedisClient) SIsMember

func (_m *RedisClient) SIsMember(_a0 string, _a1 interface{}) (bool, error)

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

func (*RedisClient) SMembers added in v0.2.7

func (_m *RedisClient) SMembers(_a0 string) ([]string, error)

SMembers provides a mock function with given fields: _a0

func (*RedisClient) SRem

func (_m *RedisClient) SRem(_a0 string, _a1 interface{}) (int64, error)

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

type RedisClient_Ping

type RedisClient_Ping struct {
	*mock.Call
}

func (RedisClient_Ping) Return

func (_m RedisClient_Ping) Return(_a0 string, _a1 error) *RedisClient_Ping

type RedisClient_SAdd

type RedisClient_SAdd struct {
	*mock.Call
}

func (RedisClient_SAdd) Return

func (_m RedisClient_SAdd) Return(_a0 int64, _a1 error) *RedisClient_SAdd

type RedisClient_SCard

type RedisClient_SCard struct {
	*mock.Call
}

func (RedisClient_SCard) Return

func (_m RedisClient_SCard) Return(_a0 int64, _a1 error) *RedisClient_SCard

type RedisClient_SIsMember

type RedisClient_SIsMember struct {
	*mock.Call
}

func (RedisClient_SIsMember) Return

type RedisClient_SMembers added in v0.2.7

type RedisClient_SMembers struct {
	*mock.Call
}

func (RedisClient_SMembers) Return added in v0.2.7

func (_m RedisClient_SMembers) Return(_a0 []string, _a1 error) *RedisClient_SMembers

type RedisClient_SRem

type RedisClient_SRem struct {
	*mock.Call
}

func (RedisClient_SRem) Return

func (_m RedisClient_SRem) Return(_a0 int64, _a1 error) *RedisClient_SRem

Jump to

Keyboard shortcuts

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