Documentation ¶
Index ¶
- type ExampleKey
- func (ek *ExampleKey) DelEqual(t *testing.T, expectReply int, keys ...string)
- func (ek *ExampleKey) DelEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) ExistsEqual(t *testing.T, expectReply int, keys ...string)
- func (ek *ExampleKey) ExistsEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) ExpireAtEqual(t *testing.T, key string, value, expectValue int)
- func (ek *ExampleKey) ExpireAtEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) ExpireEqual(t *testing.T, key string, value, expectValue int)
- func (ek *ExampleKey) ExpireEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) Info(t *testing.T, key string, expectReply interface{})
- func (ek *ExampleKey) InfoEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) KeysEqual(t *testing.T, key string, expectValue interface{})
- func (ek *ExampleKey) KeysEqualErr(t *testing.T, errValue string, expectValue interface{})
- func (ek *ExampleKey) ObjectEqual(t *testing.T, key string, expectValue interface{})
- func (ek *ExampleKey) ObjectEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) PExpireAtEqual(t *testing.T, key string, value, expectValue int)
- func (ek *ExampleKey) PExpireAtEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) PExpireEqual(t *testing.T, key string, value, expectValue int)
- func (ek *ExampleKey) PExpireEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) PTTLEqual(t *testing.T, key string, expectReply int)
- func (ek *ExampleKey) PTTLEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) PersistEqual(t *testing.T, key string, expectValue int)
- func (ek *ExampleKey) PersistEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) RandomKeyEqual(t *testing.T)
- func (ek *ExampleKey) RandomKeyEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) ScanEqual(t *testing.T, match string, expectCount int)
- func (ek *ExampleKey) ScanEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) TTLEqual(t *testing.T, key string, expectReply int)
- func (ek *ExampleKey) TTLEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ek *ExampleKey) TypeEqual(t *testing.T, key string, expectValue interface{})
- func (ek *ExampleKey) TypeEqualErr(t *testing.T, errValue string, args ...interface{})
- type ExampleList
- func (el *ExampleList) LindexEqual(t *testing.T, key string, index int)
- func (el *ExampleList) LindexEqualErr(t *testing.T, errValue string, args ...interface{})
- func (el *ExampleList) LlenEqual(t *testing.T, key string)
- func (el *ExampleList) LlenEqualErr(t *testing.T, errValue string, args ...interface{})
- func (el *ExampleList) LpopEqual(t *testing.T, key string)
- func (el *ExampleList) LpopEqualErr(t *testing.T, errValue string, args ...interface{})
- func (el *ExampleList) LpushEqual(t *testing.T, key string, values ...string)
- func (el *ExampleList) LpushEqualErr(t *testing.T, errValue string, args ...interface{})
- func (el *ExampleList) LrangeEqual(t *testing.T, key string, start, end int)
- func (el *ExampleList) LrangeEqualErr(t *testing.T, errValue string, args ...interface{})
- func (el *ExampleList) LsetEqual(t *testing.T, key string, index int, value string)
- func (el *ExampleList) LsetEqualErr(t *testing.T, errValue string, args ...interface{})
- func (el *ExampleList) RpopEqual(t *testing.T, key string)
- func (el *ExampleList) RpopEqualErr(t *testing.T, errValue string, args ...interface{})
- func (el *ExampleList) RpushEqual(t *testing.T, key string, values []string)
- func (el *ExampleList) RpushEqualErr(t *testing.T, errValue string, args ...interface{})
- type ExampleMulti
- func (ms *ExampleMulti) Cmd(t *testing.T)
- func (ms *ExampleMulti) ExecEqual(t *testing.T)
- func (ms *ExampleMulti) ExecEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ms *ExampleMulti) MultiEqual(t *testing.T)
- func (ms *ExampleMulti) MultiEqualErr(t *testing.T, errValue string, args ...interface{})
- type ExampleString
- func (es *ExampleString) AppendEqual(t *testing.T, key string, value string)
- func (es *ExampleString) AppendEqualErr(t *testing.T, errValue string, args ...interface{})
- func (es *ExampleString) DecrByEqual(t *testing.T, key string, delta int)
- func (es *ExampleString) DecrEqual(t *testing.T, key string)
- func (es *ExampleString) GetEqual(t *testing.T, key string)
- func (es *ExampleString) GetEqualErr(t *testing.T, errValue string, args ...interface{})
- func (es *ExampleString) IncrByEqual(t *testing.T, key string, delta int)
- func (es *ExampleString) IncrByFloatEqual(t *testing.T, key string, delta float64)
- func (es *ExampleString) IncrEqual(t *testing.T, key string)
- func (es *ExampleString) IncrEqualErr(t *testing.T, errValue string, args ...interface{})
- func (es *ExampleString) MGetEqual(t *testing.T, args ...string)
- func (es *ExampleString) MGetEqualErr(t *testing.T, errValue string, args ...interface{})
- func (es *ExampleString) MSetEqual(t *testing.T, args ...string)
- func (es *ExampleString) MSetEqualErr(t *testing.T, errValue string, args ...interface{})
- func (es *ExampleString) MSetNxEqual(t *testing.T, expectValue int, args ...string)
- func (es *ExampleString) PSetexEqual(t *testing.T, key string, value string, delta int)
- func (es *ExampleString) SetEqual(t *testing.T, key string, value string)
- func (es *ExampleString) SetEqualErr(t *testing.T, errValue string, args ...interface{})
- func (es *ExampleString) SetExEqual(t *testing.T, key string, value string, delta int)
- func (es *ExampleString) SetNxEqual(t *testing.T, key string, value string)
- func (es *ExampleString) SetRangeEqual(t *testing.T, key string, value string)
- func (es *ExampleString) StrlenEqual(t *testing.T, key string)
- func (es *ExampleString) StrlenEqualErr(t *testing.T, errValue string, args ...interface{})
- type ExampleSystem
- type ExampleZSet
- func (ez *ExampleZSet) ZAddEqual(t *testing.T, key string, values ...string)
- func (ez *ExampleZSet) ZAddEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ez *ExampleZSet) ZAnyOrderRangeByScoreEqual(t *testing.T, key string, start string, stop string, withScores bool, ...)
- func (ez *ExampleZSet) ZAnyOrderRangeEqual(t *testing.T, key string, start int, stop int, positiveOrder bool, ...)
- func (ez *ExampleZSet) ZCardEqual(t *testing.T, key string)
- func (ez *ExampleZSet) ZCardEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ez *ExampleZSet) ZRangeByScoreEqual(t *testing.T, key string, start string, stop string, withScores bool, ...)
- func (ez *ExampleZSet) ZRangeByScoreEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ez *ExampleZSet) ZRangeEqual(t *testing.T, key string, start int, stop int, withScore bool)
- func (ez *ExampleZSet) ZRangeEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ez *ExampleZSet) ZRemEqual(t *testing.T, key string, members ...string)
- func (ez *ExampleZSet) ZRemEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ez *ExampleZSet) ZRevRangeByScoreEqual(t *testing.T, key string, start string, stop string, withScores bool, ...)
- func (ez *ExampleZSet) ZRevRangeByScoreEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ez *ExampleZSet) ZRevRangeEqual(t *testing.T, key string, start int, stop int, withScore bool)
- func (ez *ExampleZSet) ZRevRangeEqualErr(t *testing.T, errValue string, args ...interface{})
- func (ez *ExampleZSet) ZScoreEqual(t *testing.T, key string, member string)
- func (ez *ExampleZSet) ZScoreEqualErr(t *testing.T, errValue string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleKey ¶
type ExampleKey struct {
// contains filtered or unexported fields
}
ExampleKey verify the key command
func NewExampleKey ¶
func NewExampleKey(conn redis.Conn) *ExampleKey
NewExampleKey create key object
func (*ExampleKey) DelEqual ¶
func (ek *ExampleKey) DelEqual(t *testing.T, expectReply int, keys ...string)
DelEqual verify that the return value of the del key operation is correct
func (*ExampleKey) DelEqualErr ¶
func (ek *ExampleKey) DelEqualErr(t *testing.T, errValue string, args ...interface{})
DelEqualErr verify that the return error value of the del key operation is correct
func (*ExampleKey) ExistsEqual ¶
func (ek *ExampleKey) ExistsEqual(t *testing.T, expectReply int, keys ...string)
ExistsEqual verify that the return value of the exists key operation is correct
func (*ExampleKey) ExistsEqualErr ¶
func (ek *ExampleKey) ExistsEqualErr(t *testing.T, errValue string, args ...interface{})
ExistsEqualErr verify that the return error value of the exists key operation is correct
func (*ExampleKey) ExpireAtEqual ¶
func (ek *ExampleKey) ExpireAtEqual(t *testing.T, key string, value, expectValue int)
ExpireAtEqual verify that the return value of the expire key operation is correct
func (*ExampleKey) ExpireAtEqualErr ¶
func (ek *ExampleKey) ExpireAtEqualErr(t *testing.T, errValue string, args ...interface{})
AtExpireEqualErr verify that the err return value of the expire key operation is correct
func (*ExampleKey) ExpireEqual ¶
func (ek *ExampleKey) ExpireEqual(t *testing.T, key string, value, expectValue int)
ExpireEqual verify that the return value of the expire key operation is correct
func (*ExampleKey) ExpireEqualErr ¶
func (ek *ExampleKey) ExpireEqualErr(t *testing.T, errValue string, args ...interface{})
ExpireEqualErr verify that the err return value of the expire key operation is correct
func (*ExampleKey) Info ¶
func (ek *ExampleKey) Info(t *testing.T, key string, expectReply interface{})
Info TODO
func (*ExampleKey) InfoEqualErr ¶
func (ek *ExampleKey) InfoEqualErr(t *testing.T, errValue string, args ...interface{})
InfoEqualErr TODO
func (*ExampleKey) KeysEqual ¶
func (ek *ExampleKey) KeysEqual(t *testing.T, key string, expectValue interface{})
func (*ExampleKey) KeysEqualErr ¶
func (ek *ExampleKey) KeysEqualErr(t *testing.T, errValue string, expectValue interface{})
func (*ExampleKey) ObjectEqual ¶
func (ek *ExampleKey) ObjectEqual(t *testing.T, key string, expectValue interface{})
func (*ExampleKey) ObjectEqualErr ¶
func (ek *ExampleKey) ObjectEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleKey) PExpireAtEqual ¶
func (ek *ExampleKey) PExpireAtEqual(t *testing.T, key string, value, expectValue int)
ExpireAtEqual verify that the return value of the expire key operation is correct
func (*ExampleKey) PExpireAtEqualErr ¶
func (ek *ExampleKey) PExpireAtEqualErr(t *testing.T, errValue string, args ...interface{})
PExpireEqualAtErr verify that the err return value of the expire key operation is correct
func (*ExampleKey) PExpireEqual ¶
func (ek *ExampleKey) PExpireEqual(t *testing.T, key string, value, expectValue int)
PExpireEqual verify that the return value of the expire key operation is correct
func (*ExampleKey) PExpireEqualErr ¶
func (ek *ExampleKey) PExpireEqualErr(t *testing.T, errValue string, args ...interface{})
PExpireEqualErr verify that the err return value of the expire key operation is correct
func (*ExampleKey) PTTLEqual ¶
func (ek *ExampleKey) PTTLEqual(t *testing.T, key string, expectReply int)
PTTLEqual verify that the return value of the ttl key operation is correct
func (*ExampleKey) PTTLEqualErr ¶
func (ek *ExampleKey) PTTLEqualErr(t *testing.T, errValue string, args ...interface{})
PTTLEqualErr verify that the return error value of the ttl key operation is correct
func (*ExampleKey) PersistEqual ¶
func (ek *ExampleKey) PersistEqual(t *testing.T, key string, expectValue int)
Persist verify that the return value of the expire key operation is correct
func (*ExampleKey) PersistEqualErr ¶
func (ek *ExampleKey) PersistEqualErr(t *testing.T, errValue string, args ...interface{})
PersistEqualAtErr verify that the err return value of the expire key operation is correct
func (*ExampleKey) RandomKeyEqual ¶
func (ek *ExampleKey) RandomKeyEqual(t *testing.T)
RandomKeyEqual verify that the return value of the random key operation is correct
func (*ExampleKey) RandomKeyEqualErr ¶
func (ek *ExampleKey) RandomKeyEqualErr(t *testing.T, errValue string, args ...interface{})
RandomKeyEqualErr verify that the return err value of the random key operation is correct
func (*ExampleKey) ScanEqual ¶
func (ek *ExampleKey) ScanEqual(t *testing.T, match string, expectCount int)
ScanEqual verify that the return value of the scan key operation is correct default scan all key in store
func (*ExampleKey) ScanEqualErr ¶
func (ek *ExampleKey) ScanEqualErr(t *testing.T, errValue string, args ...interface{})
ScanEqualErr verify that the return err value of the scan key operation is correct
func (*ExampleKey) TTLEqual ¶
func (ek *ExampleKey) TTLEqual(t *testing.T, key string, expectReply int)
TTLEqual verify that the return value of the ttl key operation is correct
func (*ExampleKey) TTLEqualErr ¶
func (ek *ExampleKey) TTLEqualErr(t *testing.T, errValue string, args ...interface{})
TTLEqualErr verify that the return error value of the ttl key operation is correct
func (*ExampleKey) TypeEqual ¶
func (ek *ExampleKey) TypeEqual(t *testing.T, key string, expectValue interface{})
func (*ExampleKey) TypeEqualErr ¶
func (ek *ExampleKey) TypeEqualErr(t *testing.T, errValue string, args ...interface{})
type ExampleList ¶
type ExampleList struct {
// contains filtered or unexported fields
}
ExampleList the key command mapList record the key and value of the operation
func NewExampleList ¶
func NewExampleList(conn redis.Conn) *ExampleList
NewExampleList create list object
func (*ExampleList) LindexEqual ¶
func (el *ExampleList) LindexEqual(t *testing.T, key string, index int)
LindexEqual verify that the return err value of the Lindex key operation is correct
func (*ExampleList) LindexEqualErr ¶
func (el *ExampleList) LindexEqualErr(t *testing.T, errValue string, args ...interface{})
LindexEqualErr verify that the return err value of the Lindex key operation is correct
func (*ExampleList) LlenEqual ¶
func (el *ExampleList) LlenEqual(t *testing.T, key string)
LlenEqual verify that the return value of the Llen key operation is correct
func (*ExampleList) LlenEqualErr ¶
func (el *ExampleList) LlenEqualErr(t *testing.T, errValue string, args ...interface{})
LlenEqualErr verify that the return err value of the Llen key operation is correct
func (*ExampleList) LpopEqual ¶
func (el *ExampleList) LpopEqual(t *testing.T, key string)
LpopEqual verify that the return err value of the Lpop key operation is correct
func (*ExampleList) LpopEqualErr ¶
func (el *ExampleList) LpopEqualErr(t *testing.T, errValue string, args ...interface{})
LpopEqualErr verify that the return err value of the Lpop key operation is correct
func (*ExampleList) LpushEqual ¶
func (el *ExampleList) LpushEqual(t *testing.T, key string, values ...string)
LpushEqual verify that the return err value of the lpush key operation is correct
func (*ExampleList) LpushEqualErr ¶
func (el *ExampleList) LpushEqualErr(t *testing.T, errValue string, args ...interface{})
LpushEqualErr verify that the return err value of the Lpush key operation is correct
func (*ExampleList) LrangeEqual ¶
func (el *ExampleList) LrangeEqual(t *testing.T, key string, start, end int)
LrangeEqual verify that the return value of the Lrange key operation is correct
func (*ExampleList) LrangeEqualErr ¶
func (el *ExampleList) LrangeEqualErr(t *testing.T, errValue string, args ...interface{})
LrangeEqualErr verify that the return err value of the lrange key operation is correct
func (*ExampleList) LsetEqual ¶
LsetEqual verify that the return value of the lset key operation is correct
func (*ExampleList) LsetEqualErr ¶
func (el *ExampleList) LsetEqualErr(t *testing.T, errValue string, args ...interface{})
LsetEqualErr verify that the return err value of the Lset key operation is correct
func (*ExampleList) RpopEqual ¶
func (el *ExampleList) RpopEqual(t *testing.T, key string)
RpopEqual verify that the return value of the rpop key operation is correct
func (*ExampleList) RpopEqualErr ¶
func (el *ExampleList) RpopEqualErr(t *testing.T, errValue string, args ...interface{})
RpopEqualErr verify that the return err value of the rpop key operation is correct
func (*ExampleList) RpushEqual ¶
func (el *ExampleList) RpushEqual(t *testing.T, key string, values []string)
RpushEqual verify that the return value of the Rpush key operation is correct
func (*ExampleList) RpushEqualErr ¶
func (el *ExampleList) RpushEqualErr(t *testing.T, errValue string, args ...interface{})
RpushEqualErr verify that the return err value of the Rpush key operation is correct
type ExampleMulti ¶
type ExampleMulti struct {
// contains filtered or unexported fields
}
ExampleMulti verify the multi command
func NewExampleMulti ¶
func NewExampleMulti(conn redis.Conn) *ExampleMulti
NewExampleMulti create new multi object
func (*ExampleMulti) ExecEqual ¶
func (ms *ExampleMulti) ExecEqual(t *testing.T)
ExecEqual verify that the return err value of the exec operation is correct
func (*ExampleMulti) ExecEqualErr ¶
func (ms *ExampleMulti) ExecEqualErr(t *testing.T, errValue string, args ...interface{})
ExecEqualErr verify that the return err value of the exec operation is correct
func (*ExampleMulti) MultiEqual ¶
func (ms *ExampleMulti) MultiEqual(t *testing.T)
MultiEqual verify that the return value of the multi operation is correct
func (*ExampleMulti) MultiEqualErr ¶
func (ms *ExampleMulti) MultiEqualErr(t *testing.T, errValue string, args ...interface{})
MultiEqualErr verify that the return err value of the multi operation is correct
type ExampleString ¶
type ExampleString struct {
// contains filtered or unexported fields
}
ExampleString verify the string command
func NewExampleString ¶
func NewExampleString(conn redis.Conn) *ExampleString
NewExampleString create new string object
func (*ExampleString) AppendEqual ¶
func (es *ExampleString) AppendEqual(t *testing.T, key string, value string)
AppendEqual verify that the return value of the append operation is correct
func (*ExampleString) AppendEqualErr ¶
func (es *ExampleString) AppendEqualErr(t *testing.T, errValue string, args ...interface{})
AppendEqualErr TODO
func (*ExampleString) DecrByEqual ¶
func (es *ExampleString) DecrByEqual(t *testing.T, key string, delta int)
DecrbyEqual verify that the return value of the incr operation is correct
func (*ExampleString) DecrEqual ¶
func (es *ExampleString) DecrEqual(t *testing.T, key string)
DecrEqual verify that the return value of the incr operation is correct
func (*ExampleString) GetEqual ¶
func (es *ExampleString) GetEqual(t *testing.T, key string)
GetEqual verify that the return value of the get operation is correct
func (*ExampleString) GetEqualErr ¶
func (es *ExampleString) GetEqualErr(t *testing.T, errValue string, args ...interface{})
GetEqualErr verify that the return value of the set operation is correct
func (*ExampleString) IncrByEqual ¶
func (es *ExampleString) IncrByEqual(t *testing.T, key string, delta int)
IncrByEqual verify that the return value of the incr operation is correct
func (*ExampleString) IncrByFloatEqual ¶
func (es *ExampleString) IncrByFloatEqual(t *testing.T, key string, delta float64)
IncrByFloatEqual verify that the return value of the incr operation is correct
func (*ExampleString) IncrEqual ¶
func (es *ExampleString) IncrEqual(t *testing.T, key string)
IncrEqual verify that the return value of the incr operation is correct
func (*ExampleString) IncrEqualErr ¶
func (es *ExampleString) IncrEqualErr(t *testing.T, errValue string, args ...interface{})
IncrEqualErr verify that the return value of the incr operation is correct
func (*ExampleString) MGetEqual ¶
func (es *ExampleString) MGetEqual(t *testing.T, args ...string)
MGetEqual verify that the return value of the mget operation is correct
func (*ExampleString) MGetEqualErr ¶
func (es *ExampleString) MGetEqualErr(t *testing.T, errValue string, args ...interface{})
MGetEqualErr verify that the return value of the mget operation is correct
func (*ExampleString) MSetEqual ¶
func (es *ExampleString) MSetEqual(t *testing.T, args ...string)
MSetEqual verify that the return value of the mset operation is correct
func (*ExampleString) MSetEqualErr ¶
func (es *ExampleString) MSetEqualErr(t *testing.T, errValue string, args ...interface{})
MSetEqualErr verify that the return value of the mset operation is correct
func (*ExampleString) MSetNxEqual ¶
func (es *ExampleString) MSetNxEqual(t *testing.T, expectValue int, args ...string)
MSetNxRangeEqualErr verify that the return value of the set operation is correct
func (*ExampleString) PSetexEqual ¶
PSetexEqualErr verify that the return value of the set operation is correct
func (*ExampleString) SetEqual ¶
func (es *ExampleString) SetEqual(t *testing.T, key string, value string)
SetEqual verify that the return value of the set operation is correct
func (*ExampleString) SetEqualErr ¶
func (es *ExampleString) SetEqualErr(t *testing.T, errValue string, args ...interface{})
SetEqualErr verify that the return value of the set operation is correct
func (*ExampleString) SetExEqual ¶
SetExEqualErr verify that the return value of the set operation is correct
func (*ExampleString) SetNxEqual ¶
func (es *ExampleString) SetNxEqual(t *testing.T, key string, value string)
SetNxEqualErr verify that the return value of the set operation is correct
func (*ExampleString) SetRangeEqual ¶
func (es *ExampleString) SetRangeEqual(t *testing.T, key string, value string)
SetRangeEqualErr verify that the return value of the set operation is correct
func (*ExampleString) StrlenEqual ¶
func (es *ExampleString) StrlenEqual(t *testing.T, key string)
StrlenEqual verify that the return value of the strlen operation is correct
func (*ExampleString) StrlenEqualErr ¶
func (es *ExampleString) StrlenEqualErr(t *testing.T, errValue string, args ...interface{})
StrlenEqualErr verify that the return value of the strlen operation is correct
type ExampleSystem ¶
type ExampleSystem struct {
// contains filtered or unexported fields
}
ExampleSystem verify the system command
func NewExampleSystem ¶
func NewExampleSystem(conn redis.Conn) *ExampleSystem
NewExampleSystem create new system object
func (*ExampleSystem) AuthEqual ¶
func (es *ExampleSystem) AuthEqual(t *testing.T, password string)
AuthEqual verify that the return value of the auth operation is correct
func (*ExampleSystem) AuthEqualErr ¶
func (es *ExampleSystem) AuthEqualErr(t *testing.T, errValue string, args ...interface{})
AuthEqualErr verify that the return value of the auth operation is correct
func (*ExampleSystem) PingEqual ¶
func (es *ExampleSystem) PingEqual(t *testing.T)
PingEqual verify that the return value of the ping operation is correct
func (*ExampleSystem) PingEqualErr ¶
func (es *ExampleSystem) PingEqualErr(t *testing.T, errValue string, args ...interface{})
PingEqualErr verify that the return value of the ping operation is correct
type ExampleZSet ¶ added in v0.6.0
type ExampleZSet struct {
// contains filtered or unexported fields
}
ExampleList the key command memberScores record the key and value of the operation
func NewExampleZSet ¶ added in v0.6.0
func NewExampleZSet(conn redis.Conn) *ExampleZSet
NewExampleList create list object
func (*ExampleZSet) ZAddEqual ¶ added in v0.6.0
func (ez *ExampleZSet) ZAddEqual(t *testing.T, key string, values ...string)
func (*ExampleZSet) ZAddEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZAddEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleZSet) ZAnyOrderRangeByScoreEqual ¶ added in v0.6.0
func (*ExampleZSet) ZAnyOrderRangeEqual ¶ added in v0.6.0
func (*ExampleZSet) ZCardEqual ¶ added in v0.6.0
func (ez *ExampleZSet) ZCardEqual(t *testing.T, key string)
func (*ExampleZSet) ZCardEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZCardEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleZSet) ZRangeByScoreEqual ¶ added in v0.6.0
func (*ExampleZSet) ZRangeByScoreEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZRangeByScoreEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleZSet) ZRangeEqual ¶ added in v0.6.0
func (*ExampleZSet) ZRangeEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZRangeEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleZSet) ZRemEqual ¶ added in v0.6.0
func (ez *ExampleZSet) ZRemEqual(t *testing.T, key string, members ...string)
func (*ExampleZSet) ZRemEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZRemEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleZSet) ZRevRangeByScoreEqual ¶ added in v0.6.0
func (*ExampleZSet) ZRevRangeByScoreEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZRevRangeByScoreEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleZSet) ZRevRangeEqual ¶ added in v0.6.0
func (*ExampleZSet) ZRevRangeEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZRevRangeEqualErr(t *testing.T, errValue string, args ...interface{})
func (*ExampleZSet) ZScoreEqual ¶ added in v0.6.0
func (ez *ExampleZSet) ZScoreEqual(t *testing.T, key string, member string)
func (*ExampleZSet) ZScoreEqualErr ¶ added in v0.6.0
func (ez *ExampleZSet) ZScoreEqualErr(t *testing.T, errValue string, args ...interface{})