type github.com/go-redis/redis/v8.IntCmd
176 uses
github.com/go-redis/redis/v8 (current package)
cluster_commands.go#L8: func (c *ClusterClient) DBSize(ctx context.Context) *IntCmd {
command.go#L407: type IntCmd struct {
command.go#L413: var _ Cmder = (*IntCmd)(nil)
command.go#L415: func NewIntCmd(ctx context.Context, args ...interface{}) *IntCmd {
command.go#L416: return &IntCmd{
command.go#L424: func (cmd *IntCmd) Val() int64 {
command.go#L428: func (cmd *IntCmd) Result() (int64, error) {
command.go#L432: func (cmd *IntCmd) Uint64() (uint64, error) {
command.go#L436: func (cmd *IntCmd) String() string {
command.go#L440: func (cmd *IntCmd) readReply(rd *proto.Reader) error {
commands.go#L81: Del(ctx context.Context, keys ...string) *IntCmd
commands.go#L82: Unlink(ctx context.Context, keys ...string) *IntCmd
commands.go#L84: Exists(ctx context.Context, keys ...string) *IntCmd
commands.go#L90: ObjectRefCount(ctx context.Context, key string) *IntCmd
commands.go#L103: SortStore(ctx context.Context, key, store string, sort *Sort) *IntCmd
commands.go#L105: Touch(ctx context.Context, keys ...string) *IntCmd
commands.go#L108: Append(ctx context.Context, key, value string) *IntCmd
commands.go#L109: Decr(ctx context.Context, key string) *IntCmd
commands.go#L110: DecrBy(ctx context.Context, key string, decrement int64) *IntCmd
commands.go#L114: Incr(ctx context.Context, key string) *IntCmd
commands.go#L115: IncrBy(ctx context.Context, key string, value int64) *IntCmd
commands.go#L123: SetRange(ctx context.Context, key string, offset int64, value string) *IntCmd
commands.go#L124: StrLen(ctx context.Context, key string) *IntCmd
commands.go#L126: GetBit(ctx context.Context, key string, offset int64) *IntCmd
commands.go#L127: SetBit(ctx context.Context, key string, offset int64, value int) *IntCmd
commands.go#L128: BitCount(ctx context.Context, key string, bitCount *BitCount) *IntCmd
commands.go#L129: BitOpAnd(ctx context.Context, destKey string, keys ...string) *IntCmd
commands.go#L130: BitOpOr(ctx context.Context, destKey string, keys ...string) *IntCmd
commands.go#L131: BitOpXor(ctx context.Context, destKey string, keys ...string) *IntCmd
commands.go#L132: BitOpNot(ctx context.Context, destKey string, key string) *IntCmd
commands.go#L133: BitPos(ctx context.Context, key string, bit int64, pos ...int64) *IntCmd
commands.go#L141: HDel(ctx context.Context, key string, fields ...string) *IntCmd
commands.go#L145: HIncrBy(ctx context.Context, key, field string, incr int64) *IntCmd
commands.go#L148: HLen(ctx context.Context, key string) *IntCmd
commands.go#L150: HSet(ctx context.Context, key string, values ...interface{}) *IntCmd
commands.go#L159: LInsert(ctx context.Context, key, op string, pivot, value interface{}) *IntCmd
commands.go#L160: LInsertBefore(ctx context.Context, key string, pivot, value interface{}) *IntCmd
commands.go#L161: LInsertAfter(ctx context.Context, key string, pivot, value interface{}) *IntCmd
commands.go#L162: LLen(ctx context.Context, key string) *IntCmd
commands.go#L164: LPush(ctx context.Context, key string, values ...interface{}) *IntCmd
commands.go#L165: LPushX(ctx context.Context, key string, values ...interface{}) *IntCmd
commands.go#L167: LRem(ctx context.Context, key string, count int64, value interface{}) *IntCmd
commands.go#L172: RPush(ctx context.Context, key string, values ...interface{}) *IntCmd
commands.go#L173: RPushX(ctx context.Context, key string, values ...interface{}) *IntCmd
commands.go#L175: SAdd(ctx context.Context, key string, members ...interface{}) *IntCmd
commands.go#L176: SCard(ctx context.Context, key string) *IntCmd
commands.go#L178: SDiffStore(ctx context.Context, destination string, keys ...string) *IntCmd
commands.go#L180: SInterStore(ctx context.Context, destination string, keys ...string) *IntCmd
commands.go#L189: SRem(ctx context.Context, key string, members ...interface{}) *IntCmd
commands.go#L191: SUnionStore(ctx context.Context, destination string, keys ...string) *IntCmd
commands.go#L194: XDel(ctx context.Context, stream string, ids ...string) *IntCmd
commands.go#L195: XLen(ctx context.Context, stream string) *IntCmd
commands.go#L205: XGroupDestroy(ctx context.Context, stream, group string) *IntCmd
commands.go#L206: XGroupDelConsumer(ctx context.Context, stream, group, consumer string) *IntCmd
commands.go#L208: XAck(ctx context.Context, stream, group string, ids ...string) *IntCmd
commands.go#L213: XTrim(ctx context.Context, key string, maxLen int64) *IntCmd
commands.go#L214: XTrimApprox(ctx context.Context, key string, maxLen int64) *IntCmd
commands.go#L219: ZAdd(ctx context.Context, key string, members ...*Z) *IntCmd
commands.go#L220: ZAddNX(ctx context.Context, key string, members ...*Z) *IntCmd
commands.go#L221: ZAddXX(ctx context.Context, key string, members ...*Z) *IntCmd
commands.go#L222: ZAddCh(ctx context.Context, key string, members ...*Z) *IntCmd
commands.go#L223: ZAddNXCh(ctx context.Context, key string, members ...*Z) *IntCmd
commands.go#L224: ZAddXXCh(ctx context.Context, key string, members ...*Z) *IntCmd
commands.go#L228: ZCard(ctx context.Context, key string) *IntCmd
commands.go#L229: ZCount(ctx context.Context, key, min, max string) *IntCmd
commands.go#L230: ZLexCount(ctx context.Context, key, min, max string) *IntCmd
commands.go#L232: ZInterStore(ctx context.Context, destination string, store *ZStore) *IntCmd
commands.go#L240: ZRank(ctx context.Context, key, member string) *IntCmd
commands.go#L241: ZRem(ctx context.Context, key string, members ...interface{}) *IntCmd
commands.go#L242: ZRemRangeByRank(ctx context.Context, key string, start, stop int64) *IntCmd
commands.go#L243: ZRemRangeByScore(ctx context.Context, key, min, max string) *IntCmd
commands.go#L244: ZRemRangeByLex(ctx context.Context, key, min, max string) *IntCmd
commands.go#L250: ZRevRank(ctx context.Context, key, member string) *IntCmd
commands.go#L252: ZUnionStore(ctx context.Context, dest string, store *ZStore) *IntCmd
commands.go#L254: PFAdd(ctx context.Context, key string, els ...interface{}) *IntCmd
commands.go#L255: PFCount(ctx context.Context, keys ...string) *IntCmd
commands.go#L261: ClientKillByFilter(ctx context.Context, keys ...string) *IntCmd
commands.go#L264: ClientID(ctx context.Context) *IntCmd
commands.go#L269: DBSize(ctx context.Context) *IntCmd
commands.go#L275: LastSave(ctx context.Context) *IntCmd
commands.go#L285: MemoryUsage(ctx context.Context, key string, samples ...int) *IntCmd
commands.go#L294: Publish(ctx context.Context, channel string, message interface{}) *IntCmd
commands.go#L297: PubSubNumPat(ctx context.Context) *IntCmd
commands.go#L307: ClusterKeySlot(ctx context.Context, key string) *IntCmd
commands.go#L309: ClusterCountFailureReports(ctx context.Context, nodeID string) *IntCmd
commands.go#L310: ClusterCountKeysInSlot(ctx context.Context, slot int) *IntCmd
commands.go#L319: GeoAdd(ctx context.Context, key string, geoLocation ...*GeoLocation) *IntCmd
commands.go#L322: GeoRadiusStore(ctx context.Context, key string, longitude, latitude float64, query *GeoRadiusQuery) *IntCmd
commands.go#L324: GeoRadiusByMemberStore(ctx context.Context, key, member string, query *GeoRadiusQuery) *IntCmd
commands.go#L366: func (c cmdable) Wait(ctx context.Context, numSlaves int, timeout time.Duration) *IntCmd {
commands.go#L422: func (c cmdable) Del(ctx context.Context, keys ...string) *IntCmd {
commands.go#L433: func (c cmdable) Unlink(ctx context.Context, keys ...string) *IntCmd {
commands.go#L450: func (c cmdable) Exists(ctx context.Context, keys ...string) *IntCmd {
commands.go#L500: func (c cmdable) ObjectRefCount(ctx context.Context, key string) *IntCmd {
commands.go#L624: func (c cmdable) SortStore(ctx context.Context, key, store string, sort *Sort) *IntCmd {
commands.go#L640: func (c cmdable) Touch(ctx context.Context, keys ...string) *IntCmd {
commands.go#L663: func (c cmdable) Append(ctx context.Context, key, value string) *IntCmd {
commands.go#L669: func (c cmdable) Decr(ctx context.Context, key string) *IntCmd {
commands.go#L675: func (c cmdable) DecrBy(ctx context.Context, key string, decrement int64) *IntCmd {
commands.go#L700: func (c cmdable) Incr(ctx context.Context, key string) *IntCmd {
commands.go#L706: func (c cmdable) IncrBy(ctx context.Context, key string, value int64) *IntCmd {
commands.go#L813: func (c cmdable) SetRange(ctx context.Context, key string, offset int64, value string) *IntCmd {
commands.go#L819: func (c cmdable) StrLen(ctx context.Context, key string) *IntCmd {
commands.go#L827: func (c cmdable) GetBit(ctx context.Context, key string, offset int64) *IntCmd {
commands.go#L833: func (c cmdable) SetBit(ctx context.Context, key string, offset int64, value int) *IntCmd {
commands.go#L849: func (c cmdable) BitCount(ctx context.Context, key string, bitCount *BitCount) *IntCmd {
commands.go#L863: func (c cmdable) bitOp(ctx context.Context, op, destKey string, keys ...string) *IntCmd {
commands.go#L876: func (c cmdable) BitOpAnd(ctx context.Context, destKey string, keys ...string) *IntCmd {
commands.go#L880: func (c cmdable) BitOpOr(ctx context.Context, destKey string, keys ...string) *IntCmd {
commands.go#L884: func (c cmdable) BitOpXor(ctx context.Context, destKey string, keys ...string) *IntCmd {
commands.go#L888: func (c cmdable) BitOpNot(ctx context.Context, destKey string, key string) *IntCmd {
commands.go#L892: func (c cmdable) BitPos(ctx context.Context, key string, bit int64, pos ...int64) *IntCmd {
commands.go#L978: func (c cmdable) HDel(ctx context.Context, key string, fields ...string) *IntCmd {
commands.go#L1008: func (c cmdable) HIncrBy(ctx context.Context, key, field string, incr int64) *IntCmd {
commands.go#L1026: func (c cmdable) HLen(ctx context.Context, key string) *IntCmd {
commands.go#L1052: func (c cmdable) HSet(ctx context.Context, key string, values ...interface{}) *IntCmd {
commands.go#L1132: func (c cmdable) LInsert(ctx context.Context, key, op string, pivot, value interface{}) *IntCmd {
commands.go#L1138: func (c cmdable) LInsertBefore(ctx context.Context, key string, pivot, value interface{}) *IntCmd {
commands.go#L1144: func (c cmdable) LInsertAfter(ctx context.Context, key string, pivot, value interface{}) *IntCmd {
commands.go#L1150: func (c cmdable) LLen(ctx context.Context, key string) *IntCmd {
commands.go#L1162: func (c cmdable) LPush(ctx context.Context, key string, values ...interface{}) *IntCmd {
commands.go#L1172: func (c cmdable) LPushX(ctx context.Context, key string, values ...interface{}) *IntCmd {
commands.go#L1194: func (c cmdable) LRem(ctx context.Context, key string, count int64, value interface{}) *IntCmd {
commands.go#L1230: func (c cmdable) RPush(ctx context.Context, key string, values ...interface{}) *IntCmd {
commands.go#L1240: func (c cmdable) RPushX(ctx context.Context, key string, values ...interface{}) *IntCmd {
commands.go#L1252: func (c cmdable) SAdd(ctx context.Context, key string, members ...interface{}) *IntCmd {
commands.go#L1262: func (c cmdable) SCard(ctx context.Context, key string) *IntCmd {
commands.go#L1279: func (c cmdable) SDiffStore(ctx context.Context, destination string, keys ...string) *IntCmd {
commands.go#L1302: func (c cmdable) SInterStore(ctx context.Context, destination string, keys ...string) *IntCmd {
commands.go#L1368: func (c cmdable) SRem(ctx context.Context, key string, members ...interface{}) *IntCmd {
commands.go#L1389: func (c cmdable) SUnionStore(ctx context.Context, destination string, keys ...string) *IntCmd {
commands.go#L1438: func (c cmdable) XDel(ctx context.Context, stream string, ids ...string) *IntCmd {
commands.go#L1448: func (c cmdable) XLen(ctx context.Context, stream string) *IntCmd {
commands.go#L1534: func (c cmdable) XGroupDestroy(ctx context.Context, stream, group string) *IntCmd {
commands.go#L1540: func (c cmdable) XGroupDelConsumer(ctx context.Context, stream, group, consumer string) *IntCmd {
commands.go#L1580: func (c cmdable) XAck(ctx context.Context, stream, group string, ids ...string) *IntCmd {
commands.go#L1652: func (c cmdable) XTrim(ctx context.Context, key string, maxLen int64) *IntCmd {
commands.go#L1658: func (c cmdable) XTrimApprox(ctx context.Context, key string, maxLen int64) *IntCmd {
commands.go#L1720: func (c cmdable) zAdd(ctx context.Context, a []interface{}, n int, members ...*Z) *IntCmd {
commands.go#L1731: func (c cmdable) ZAdd(ctx context.Context, key string, members ...*Z) *IntCmd {
commands.go#L1739: func (c cmdable) ZAddNX(ctx context.Context, key string, members ...*Z) *IntCmd {
commands.go#L1747: func (c cmdable) ZAddXX(ctx context.Context, key string, members ...*Z) *IntCmd {
commands.go#L1755: func (c cmdable) ZAddCh(ctx context.Context, key string, members ...*Z) *IntCmd {
commands.go#L1763: func (c cmdable) ZAddNXCh(ctx context.Context, key string, members ...*Z) *IntCmd {
commands.go#L1771: func (c cmdable) ZAddXXCh(ctx context.Context, key string, members ...*Z) *IntCmd {
commands.go#L1812: func (c cmdable) ZCard(ctx context.Context, key string) *IntCmd {
commands.go#L1818: func (c cmdable) ZCount(ctx context.Context, key, min, max string) *IntCmd {
commands.go#L1824: func (c cmdable) ZLexCount(ctx context.Context, key, min, max string) *IntCmd {
commands.go#L1836: func (c cmdable) ZInterStore(ctx context.Context, destination string, store *ZStore) *IntCmd {
commands.go#L1969: func (c cmdable) ZRank(ctx context.Context, key, member string) *IntCmd {
commands.go#L1975: func (c cmdable) ZRem(ctx context.Context, key string, members ...interface{}) *IntCmd {
commands.go#L1985: func (c cmdable) ZRemRangeByRank(ctx context.Context, key string, start, stop int64) *IntCmd {
commands.go#L1997: func (c cmdable) ZRemRangeByScore(ctx context.Context, key, min, max string) *IntCmd {
commands.go#L2003: func (c cmdable) ZRemRangeByLex(ctx context.Context, key, min, max string) *IntCmd {
commands.go#L2059: func (c cmdable) ZRevRank(ctx context.Context, key, member string) *IntCmd {
commands.go#L2071: func (c cmdable) ZUnionStore(ctx context.Context, dest string, store *ZStore) *IntCmd {
commands.go#L2095: func (c cmdable) PFAdd(ctx context.Context, key string, els ...interface{}) *IntCmd {
commands.go#L2105: func (c cmdable) PFCount(ctx context.Context, keys ...string) *IntCmd {
commands.go#L2151: func (c cmdable) ClientKillByFilter(ctx context.Context, keys ...string) *IntCmd {
commands.go#L2175: func (c cmdable) ClientID(ctx context.Context) *IntCmd {
commands.go#L2181: func (c cmdable) ClientUnblock(ctx context.Context, id int64) *IntCmd {
commands.go#L2187: func (c cmdable) ClientUnblockWithError(ctx context.Context, id int64) *IntCmd {
commands.go#L2217: func (c cmdable) DBSize(ctx context.Context) *IntCmd {
commands.go#L2257: func (c cmdable) LastSave(ctx context.Context) *IntCmd {
commands.go#L2343: func (c cmdable) MemoryUsage(ctx context.Context, key string, samples ...int) *IntCmd {
commands.go#L2419: func (c cmdable) Publish(ctx context.Context, channel string, message interface{}) *IntCmd {
commands.go#L2447: func (c cmdable) PubSubNumPat(ctx context.Context) *IntCmd {
commands.go#L2503: func (c cmdable) ClusterKeySlot(ctx context.Context, key string) *IntCmd {
commands.go#L2515: func (c cmdable) ClusterCountFailureReports(ctx context.Context, nodeID string) *IntCmd {
commands.go#L2521: func (c cmdable) ClusterCountKeysInSlot(ctx context.Context, slot int) *IntCmd {
commands.go#L2589: func (c cmdable) GeoAdd(ctx context.Context, key string, geoLocation ...*GeoLocation) *IntCmd {
commands.go#L2619: ) *IntCmd {
commands.go#L2646: ) *IntCmd {
result.go#L30: func NewIntResult(val int64, err error) *IntCmd {
result.go#L31: var cmd IntCmd
sentinel.go#L324: func (c *SentinelClient) Reset(ctx context.Context, pattern string) *IntCmd {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |