Documentation ¶
Index ¶
- type RedisClient
- func (_m *RedisClient) OnPing() *RedisClient_Ping
- func (_m *RedisClient) OnPingMatch(matchers ...interface{}) *RedisClient_Ping
- func (_m *RedisClient) OnSAdd(_a0 string, _a1 interface{}) *RedisClient_SAdd
- func (_m *RedisClient) OnSAddMatch(matchers ...interface{}) *RedisClient_SAdd
- func (_m *RedisClient) OnSCard(_a0 string) *RedisClient_SCard
- func (_m *RedisClient) OnSCardMatch(matchers ...interface{}) *RedisClient_SCard
- func (_m *RedisClient) OnSIsMember(_a0 string, _a1 interface{}) *RedisClient_SIsMember
- func (_m *RedisClient) OnSIsMemberMatch(matchers ...interface{}) *RedisClient_SIsMember
- func (_m *RedisClient) OnSMembers(_a0 string) *RedisClient_SMembers
- func (_m *RedisClient) OnSMembersMatch(matchers ...interface{}) *RedisClient_SMembers
- func (_m *RedisClient) OnSRem(_a0 string, _a1 interface{}) *RedisClient_SRem
- func (_m *RedisClient) OnSRemMatch(matchers ...interface{}) *RedisClient_SRem
- func (_m *RedisClient) Ping() (string, error)
- func (_m *RedisClient) SAdd(_a0 string, _a1 interface{}) (int64, error)
- func (_m *RedisClient) SCard(_a0 string) (int64, error)
- func (_m *RedisClient) SIsMember(_a0 string, _a1 interface{}) (bool, error)
- func (_m *RedisClient) SMembers(_a0 string) ([]string, error)
- func (_m *RedisClient) SRem(_a0 string, _a1 interface{}) (int64, error)
- type RedisClient_Ping
- type RedisClient_SAdd
- type RedisClient_SCard
- type RedisClient_SIsMember
- type RedisClient_SMembers
- type RedisClient_SRem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
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.7.0
func (_m *RedisClient) OnSMembers(_a0 string) *RedisClient_SMembers
func (*RedisClient) OnSMembersMatch ¶ added in v0.7.0
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
type RedisClient_Ping ¶
func (RedisClient_Ping) Return ¶
func (_m RedisClient_Ping) Return(_a0 string, _a1 error) *RedisClient_Ping
type RedisClient_SAdd ¶
func (RedisClient_SAdd) Return ¶
func (_m RedisClient_SAdd) Return(_a0 int64, _a1 error) *RedisClient_SAdd
type RedisClient_SCard ¶
func (RedisClient_SCard) Return ¶
func (_m RedisClient_SCard) Return(_a0 int64, _a1 error) *RedisClient_SCard
type RedisClient_SIsMember ¶
func (RedisClient_SIsMember) Return ¶
func (_m RedisClient_SIsMember) Return(_a0 bool, _a1 error) *RedisClient_SIsMember
type RedisClient_SMembers ¶ added in v0.7.0
func (RedisClient_SMembers) Return ¶ added in v0.7.0
func (_m RedisClient_SMembers) Return(_a0 []string, _a1 error) *RedisClient_SMembers
type RedisClient_SRem ¶
func (RedisClient_SRem) Return ¶
func (_m RedisClient_SRem) Return(_a0 int64, _a1 error) *RedisClient_SRem
Click to show internal directories.
Click to hide internal directories.