Documentation ¶
Index ¶
- type CacheRepo
- type Cmdable
- func (_m *Cmdable) AllExist(ctx context.Context, keys ...string) (bool, int, error)
- func (_m *Cmdable) Append(ctx context.Context, key string, value string) *v8.IntCmd
- func (_m *Cmdable) BLPop(ctx context.Context, timeout time.Duration, keys ...string) *v8.StringSliceCmd
- func (_m *Cmdable) BRPop(ctx context.Context, timeout time.Duration, keys ...string) *v8.StringSliceCmd
- func (_m *Cmdable) BRPopLPush(ctx context.Context, source string, destination string, timeout time.Duration) *v8.StringCmd
- func (_m *Cmdable) BZPopMax(ctx context.Context, timeout time.Duration, keys ...string) *v8.ZWithKeyCmd
- func (_m *Cmdable) BZPopMin(ctx context.Context, timeout time.Duration, keys ...string) *v8.ZWithKeyCmd
- func (_m *Cmdable) BgRewriteAOF(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) BgSave(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) BitCount(ctx context.Context, key string, bitCount *v8.BitCount) *v8.IntCmd
- func (_m *Cmdable) BitField(ctx context.Context, key string, args ...interface{}) *v8.IntSliceCmd
- func (_m *Cmdable) BitOpAnd(ctx context.Context, destKey string, keys ...string) *v8.IntCmd
- func (_m *Cmdable) BitOpNot(ctx context.Context, destKey string, key string) *v8.IntCmd
- func (_m *Cmdable) BitOpOr(ctx context.Context, destKey string, keys ...string) *v8.IntCmd
- func (_m *Cmdable) BitOpXor(ctx context.Context, destKey string, keys ...string) *v8.IntCmd
- func (_m *Cmdable) BitPos(ctx context.Context, key string, bit int64, pos ...int64) *v8.IntCmd
- func (_m *Cmdable) ClientGetName(ctx context.Context) *v8.StringCmd
- func (_m *Cmdable) ClientID(ctx context.Context) *v8.IntCmd
- func (_m *Cmdable) ClientKill(ctx context.Context, ipPort string) *v8.StatusCmd
- func (_m *Cmdable) ClientKillByFilter(ctx context.Context, keys ...string) *v8.IntCmd
- func (_m *Cmdable) ClientList(ctx context.Context) *v8.StringCmd
- func (_m *Cmdable) ClientPause(ctx context.Context, dur time.Duration) *v8.BoolCmd
- func (_m *Cmdable) ClusterAddSlots(ctx context.Context, slots ...int) *v8.StatusCmd
- func (_m *Cmdable) ClusterAddSlotsRange(ctx context.Context, min int, max int) *v8.StatusCmd
- func (_m *Cmdable) ClusterCountFailureReports(ctx context.Context, nodeID string) *v8.IntCmd
- func (_m *Cmdable) ClusterCountKeysInSlot(ctx context.Context, slot int) *v8.IntCmd
- func (_m *Cmdable) ClusterDelSlots(ctx context.Context, slots ...int) *v8.StatusCmd
- func (_m *Cmdable) ClusterDelSlotsRange(ctx context.Context, min int, max int) *v8.StatusCmd
- func (_m *Cmdable) ClusterFailover(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ClusterForget(ctx context.Context, nodeID string) *v8.StatusCmd
- func (_m *Cmdable) ClusterGetKeysInSlot(ctx context.Context, slot int, count int) *v8.StringSliceCmd
- func (_m *Cmdable) ClusterInfo(ctx context.Context) *v8.StringCmd
- func (_m *Cmdable) ClusterKeySlot(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) ClusterMeet(ctx context.Context, host string, port string) *v8.StatusCmd
- func (_m *Cmdable) ClusterNodes(ctx context.Context) *v8.StringCmd
- func (_m *Cmdable) ClusterReplicate(ctx context.Context, nodeID string) *v8.StatusCmd
- func (_m *Cmdable) ClusterResetHard(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ClusterResetSoft(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ClusterSaveConfig(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ClusterSlaves(ctx context.Context, nodeID string) *v8.StringSliceCmd
- func (_m *Cmdable) ClusterSlots(ctx context.Context) *v8.ClusterSlotsCmd
- func (_m *Cmdable) Command(ctx context.Context) *v8.CommandsInfoCmd
- func (_m *Cmdable) ConfigGet(ctx context.Context, parameter string) *v8.SliceCmd
- func (_m *Cmdable) ConfigResetStat(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ConfigRewrite(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ConfigSet(ctx context.Context, parameter string, value string) *v8.StatusCmd
- func (_m *Cmdable) DBSize(ctx context.Context) *v8.IntCmd
- func (_m *Cmdable) DebugObject(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) Decr(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) DecrBy(ctx context.Context, key string, decrement int64) *v8.IntCmd
- func (_m *Cmdable) Del(ctx context.Context, keys ...string) *v8.IntCmd
- func (_m *Cmdable) Dump(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) Echo(ctx context.Context, message interface{}) *v8.StringCmd
- func (_m *Cmdable) Eval(ctx context.Context, script string, keys []string, args ...interface{}) *v8.Cmd
- func (_m *Cmdable) EvalSha(ctx context.Context, sha1 string, keys []string, args ...interface{}) *v8.Cmd
- func (_m *Cmdable) Exists(ctx context.Context, keys ...string) *v8.IntCmd
- func (_m *Cmdable) Expire(ctx context.Context, key string, expiration time.Duration) *v8.BoolCmd
- func (_m *Cmdable) ExpireAt(ctx context.Context, key string, tm time.Time) *v8.BoolCmd
- func (_m *Cmdable) FlushAll(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) FlushAllAsync(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) FlushDB(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) FlushDBAsync(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) GeoAdd(ctx context.Context, key string, geoLocation ...*v8.GeoLocation) *v8.IntCmd
- func (_m *Cmdable) GeoDist(ctx context.Context, key string, member1 string, member2 string, unit string) *v8.FloatCmd
- func (_m *Cmdable) GeoHash(ctx context.Context, key string, members ...string) *v8.StringSliceCmd
- func (_m *Cmdable) GeoPos(ctx context.Context, key string, members ...string) *v8.GeoPosCmd
- func (_m *Cmdable) GeoRadius(ctx context.Context, key string, longitude float64, latitude float64, ...) *v8.GeoLocationCmd
- func (_m *Cmdable) GeoRadiusByMember(ctx context.Context, key string, member string, query *v8.GeoRadiusQuery) *v8.GeoLocationCmd
- func (_m *Cmdable) GeoRadiusByMemberStore(ctx context.Context, key string, member string, query *v8.GeoRadiusQuery) *v8.IntCmd
- func (_m *Cmdable) GeoRadiusStore(ctx context.Context, key string, longitude float64, latitude float64, ...) *v8.IntCmd
- func (_m *Cmdable) Get(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) GetBit(ctx context.Context, key string, offset int64) *v8.IntCmd
- func (_m *Cmdable) GetDel(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) GetEx(ctx context.Context, key string, expiration time.Duration) *v8.StringCmd
- func (_m *Cmdable) GetRange(ctx context.Context, key string, start int64, end int64) *v8.StringCmd
- func (_m *Cmdable) GetSet(ctx context.Context, key string, value interface{}) *v8.StringCmd
- func (_m *Cmdable) HDel(ctx context.Context, key string, fields ...string) *v8.IntCmd
- func (_m *Cmdable) HExists(ctx context.Context, key string, field string) *v8.BoolCmd
- func (_m *Cmdable) HGet(ctx context.Context, key string, field string) *v8.StringCmd
- func (_m *Cmdable) HGetAll(ctx context.Context, key string) *v8.StringStringMapCmd
- func (_m *Cmdable) HIncrBy(ctx context.Context, key string, field string, incr int64) *v8.IntCmd
- func (_m *Cmdable) HIncrByFloat(ctx context.Context, key string, field string, incr float64) *v8.FloatCmd
- func (_m *Cmdable) HKeys(ctx context.Context, key string) *v8.StringSliceCmd
- func (_m *Cmdable) HLen(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) HMGet(ctx context.Context, key string, fields ...string) *v8.SliceCmd
- func (_m *Cmdable) HMSet(ctx context.Context, key string, values ...interface{}) *v8.BoolCmd
- func (_m *Cmdable) HRandField(ctx context.Context, key string, count int, withValues bool) *v8.StringSliceCmd
- func (_m *Cmdable) HScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd
- func (_m *Cmdable) HSet(ctx context.Context, key string, values ...interface{}) *v8.IntCmd
- func (_m *Cmdable) HSetNX(ctx context.Context, key string, field string, value interface{}) *v8.BoolCmd
- func (_m *Cmdable) HSetTTL(ctx context.Context, key string, values map[string]interface{}, ...) error
- func (_m *Cmdable) HVals(ctx context.Context, key string) *v8.StringSliceCmd
- func (_m *Cmdable) Incr(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) IncrBy(ctx context.Context, key string, value int64) *v8.IntCmd
- func (_m *Cmdable) IncrByFloat(ctx context.Context, key string, value float64) *v8.FloatCmd
- func (_m *Cmdable) Info(ctx context.Context, section ...string) *v8.StringCmd
- func (_m *Cmdable) Keys(ctx context.Context, pattern string) *v8.StringSliceCmd
- func (_m *Cmdable) LIndex(ctx context.Context, key string, index int64) *v8.StringCmd
- func (_m *Cmdable) LInsert(ctx context.Context, key string, op string, pivot interface{}, ...) *v8.IntCmd
- func (_m *Cmdable) LInsertAfter(ctx context.Context, key string, pivot interface{}, value interface{}) *v8.IntCmd
- func (_m *Cmdable) LInsertBefore(ctx context.Context, key string, pivot interface{}, value interface{}) *v8.IntCmd
- func (_m *Cmdable) LLen(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) LMove(ctx context.Context, source string, destination string, srcpos string, ...) *v8.StringCmd
- func (_m *Cmdable) LPop(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) LPopCount(ctx context.Context, key string, count int) *v8.StringSliceCmd
- func (_m *Cmdable) LPos(ctx context.Context, key string, value string, args v8.LPosArgs) *v8.IntCmd
- func (_m *Cmdable) LPosCount(ctx context.Context, key string, value string, count int64, args v8.LPosArgs) *v8.IntSliceCmd
- func (_m *Cmdable) LPush(ctx context.Context, key string, values ...interface{}) *v8.IntCmd
- func (_m *Cmdable) LPushX(ctx context.Context, key string, values ...interface{}) *v8.IntCmd
- func (_m *Cmdable) LRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd
- func (_m *Cmdable) LRem(ctx context.Context, key string, count int64, value interface{}) *v8.IntCmd
- func (_m *Cmdable) LSet(ctx context.Context, key string, index int64, value interface{}) *v8.StatusCmd
- func (_m *Cmdable) LTrim(ctx context.Context, key string, start int64, stop int64) *v8.StatusCmd
- func (_m *Cmdable) LastSave(ctx context.Context) *v8.IntCmd
- func (_m *Cmdable) MGet(ctx context.Context, keys ...string) *v8.SliceCmd
- func (_m *Cmdable) MSet(ctx context.Context, values ...interface{}) *v8.StatusCmd
- func (_m *Cmdable) MSetNX(ctx context.Context, values ...interface{}) *v8.BoolCmd
- func (_m *Cmdable) MemoryUsage(ctx context.Context, key string, samples ...int) *v8.IntCmd
- func (_m *Cmdable) Migrate(ctx context.Context, host string, port string, key string, db int, ...) *v8.StatusCmd
- func (_m *Cmdable) Move(ctx context.Context, key string, db int) *v8.BoolCmd
- func (_m *Cmdable) ObjectEncoding(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) ObjectIdleTime(ctx context.Context, key string) *v8.DurationCmd
- func (_m *Cmdable) ObjectRefCount(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) OptimisticLockTx(ctx context.Context, maxRetries int, txFn func(*v8.Tx) error, keys ...string) error
- func (_m *Cmdable) PExpire(ctx context.Context, key string, expiration time.Duration) *v8.BoolCmd
- func (_m *Cmdable) PExpireAt(ctx context.Context, key string, tm time.Time) *v8.BoolCmd
- func (_m *Cmdable) PFAdd(ctx context.Context, key string, els ...interface{}) *v8.IntCmd
- func (_m *Cmdable) PFCount(ctx context.Context, keys ...string) *v8.IntCmd
- func (_m *Cmdable) PFMerge(ctx context.Context, dest string, keys ...string) *v8.StatusCmd
- func (_m *Cmdable) PTTL(ctx context.Context, key string) *v8.DurationCmd
- func (_m *Cmdable) Persist(ctx context.Context, key string) *v8.BoolCmd
- func (_m *Cmdable) Ping(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) Pipeline() v8.Pipeliner
- func (_m *Cmdable) Pipelined(ctx context.Context, fn func(v8.Pipeliner) error) ([]v8.Cmder, error)
- func (_m *Cmdable) PubSubChannels(ctx context.Context, pattern string) *v8.StringSliceCmd
- func (_m *Cmdable) PubSubNumPat(ctx context.Context) *v8.IntCmd
- func (_m *Cmdable) PubSubNumSub(ctx context.Context, channels ...string) *v8.StringIntMapCmd
- func (_m *Cmdable) Publish(ctx context.Context, channel string, message interface{}) *v8.IntCmd
- func (_m *Cmdable) Quit(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) RPop(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) RPopLPush(ctx context.Context, source string, destination string) *v8.StringCmd
- func (_m *Cmdable) RPush(ctx context.Context, key string, values ...interface{}) *v8.IntCmd
- func (_m *Cmdable) RPushX(ctx context.Context, key string, values ...interface{}) *v8.IntCmd
- func (_m *Cmdable) RandomKey(ctx context.Context) *v8.StringCmd
- func (_m *Cmdable) ReadOnly(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ReadWrite(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) Rename(ctx context.Context, key string, newkey string) *v8.StatusCmd
- func (_m *Cmdable) RenameNX(ctx context.Context, key string, newkey string) *v8.BoolCmd
- func (_m *Cmdable) Restore(ctx context.Context, key string, ttl time.Duration, value string) *v8.StatusCmd
- func (_m *Cmdable) RestoreReplace(ctx context.Context, key string, ttl time.Duration, value string) *v8.StatusCmd
- func (_m *Cmdable) SAdd(ctx context.Context, key string, members ...interface{}) *v8.IntCmd
- func (_m *Cmdable) SAddTTL(ctx context.Context, key string, TTL time.Duration, members ...interface{}) error
- func (_m *Cmdable) SCard(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) SDiff(ctx context.Context, keys ...string) *v8.StringSliceCmd
- func (_m *Cmdable) SDiffStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd
- func (_m *Cmdable) SInter(ctx context.Context, keys ...string) *v8.StringSliceCmd
- func (_m *Cmdable) SInterStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd
- func (_m *Cmdable) SIsMember(ctx context.Context, key string, member interface{}) *v8.BoolCmd
- func (_m *Cmdable) SMIsMember(ctx context.Context, key string, members ...interface{}) *v8.BoolSliceCmd
- func (_m *Cmdable) SMembers(ctx context.Context, key string) *v8.StringSliceCmd
- func (_m *Cmdable) SMembersMap(ctx context.Context, key string) *v8.StringStructMapCmd
- func (_m *Cmdable) SMove(ctx context.Context, source string, destination string, member interface{}) *v8.BoolCmd
- func (_m *Cmdable) SPop(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) SPopN(ctx context.Context, key string, count int64) *v8.StringSliceCmd
- func (_m *Cmdable) SRandMember(ctx context.Context, key string) *v8.StringCmd
- func (_m *Cmdable) SRandMemberN(ctx context.Context, key string, count int64) *v8.StringSliceCmd
- func (_m *Cmdable) SRem(ctx context.Context, key string, members ...interface{}) *v8.IntCmd
- func (_m *Cmdable) SScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd
- func (_m *Cmdable) SUnion(ctx context.Context, keys ...string) *v8.StringSliceCmd
- func (_m *Cmdable) SUnionStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd
- func (_m *Cmdable) Save(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) Scan(ctx context.Context, cursor uint64, match string, count int64) *v8.ScanCmd
- func (_m *Cmdable) ScanType(ctx context.Context, cursor uint64, match string, count int64, keyType string) *v8.ScanCmd
- func (_m *Cmdable) ScriptExists(ctx context.Context, hashes ...string) *v8.BoolSliceCmd
- func (_m *Cmdable) ScriptFlush(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ScriptKill(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ScriptLoad(ctx context.Context, script string) *v8.StringCmd
- func (_m *Cmdable) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.StatusCmd
- func (_m *Cmdable) SetArgs(ctx context.Context, key string, value interface{}, a v8.SetArgs) *v8.StatusCmd
- func (_m *Cmdable) SetBit(ctx context.Context, key string, offset int64, value int) *v8.IntCmd
- func (_m *Cmdable) SetEX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.StatusCmd
- func (_m *Cmdable) SetNX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.BoolCmd
- func (_m *Cmdable) SetRange(ctx context.Context, key string, offset int64, value string) *v8.IntCmd
- func (_m *Cmdable) SetXX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.BoolCmd
- func (_m *Cmdable) Shutdown(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ShutdownNoSave(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) ShutdownSave(ctx context.Context) *v8.StatusCmd
- func (_m *Cmdable) SlaveOf(ctx context.Context, host string, port string) *v8.StatusCmd
- func (_m *Cmdable) Sort(ctx context.Context, key string, sort *v8.Sort) *v8.StringSliceCmd
- func (_m *Cmdable) SortInterfaces(ctx context.Context, key string, sort *v8.Sort) *v8.SliceCmd
- func (_m *Cmdable) SortStore(ctx context.Context, key string, store string, sort *v8.Sort) *v8.IntCmd
- func (_m *Cmdable) StrLen(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) TTL(ctx context.Context, key string) *v8.DurationCmd
- func (_m *Cmdable) Time(ctx context.Context) *v8.TimeCmd
- func (_m *Cmdable) Touch(ctx context.Context, keys ...string) *v8.IntCmd
- func (_m *Cmdable) TxPipeline() v8.Pipeliner
- func (_m *Cmdable) TxPipelined(ctx context.Context, fn func(v8.Pipeliner) error) ([]v8.Cmder, error)
- func (_m *Cmdable) Type(ctx context.Context, key string) *v8.StatusCmd
- func (_m *Cmdable) Unlink(ctx context.Context, keys ...string) *v8.IntCmd
- func (_m *Cmdable) XAck(ctx context.Context, stream string, group string, ids ...string) *v8.IntCmd
- func (_m *Cmdable) XAdd(ctx context.Context, a *v8.XAddArgs) *v8.StringCmd
- func (_m *Cmdable) XClaim(ctx context.Context, a *v8.XClaimArgs) *v8.XMessageSliceCmd
- func (_m *Cmdable) XClaimJustID(ctx context.Context, a *v8.XClaimArgs) *v8.StringSliceCmd
- func (_m *Cmdable) XDel(ctx context.Context, stream string, ids ...string) *v8.IntCmd
- func (_m *Cmdable) XGroupCreate(ctx context.Context, stream string, group string, start string) *v8.StatusCmd
- func (_m *Cmdable) XGroupCreateMkStream(ctx context.Context, stream string, group string, start string) *v8.StatusCmd
- func (_m *Cmdable) XGroupDelConsumer(ctx context.Context, stream string, group string, consumer string) *v8.IntCmd
- func (_m *Cmdable) XGroupDestroy(ctx context.Context, stream string, group string) *v8.IntCmd
- func (_m *Cmdable) XGroupSetID(ctx context.Context, stream string, group string, start string) *v8.StatusCmd
- func (_m *Cmdable) XInfoConsumers(ctx context.Context, key string, group string) *v8.XInfoConsumersCmd
- func (_m *Cmdable) XInfoGroups(ctx context.Context, key string) *v8.XInfoGroupsCmd
- func (_m *Cmdable) XInfoStream(ctx context.Context, key string) *v8.XInfoStreamCmd
- func (_m *Cmdable) XLen(ctx context.Context, stream string) *v8.IntCmd
- func (_m *Cmdable) XPending(ctx context.Context, stream string, group string) *v8.XPendingCmd
- func (_m *Cmdable) XPendingExt(ctx context.Context, a *v8.XPendingExtArgs) *v8.XPendingExtCmd
- func (_m *Cmdable) XRange(ctx context.Context, stream string, start string, stop string) *v8.XMessageSliceCmd
- func (_m *Cmdable) XRangeN(ctx context.Context, stream string, start string, stop string, count int64) *v8.XMessageSliceCmd
- func (_m *Cmdable) XRead(ctx context.Context, a *v8.XReadArgs) *v8.XStreamSliceCmd
- func (_m *Cmdable) XReadGroup(ctx context.Context, a *v8.XReadGroupArgs) *v8.XStreamSliceCmd
- func (_m *Cmdable) XReadStreams(ctx context.Context, streams ...string) *v8.XStreamSliceCmd
- func (_m *Cmdable) XRevRange(ctx context.Context, stream string, start string, stop string) *v8.XMessageSliceCmd
- func (_m *Cmdable) XRevRangeN(ctx context.Context, stream string, start string, stop string, count int64) *v8.XMessageSliceCmd
- func (_m *Cmdable) XTrim(ctx context.Context, key string, maxLen int64) *v8.IntCmd
- func (_m *Cmdable) XTrimApprox(ctx context.Context, key string, maxLen int64) *v8.IntCmd
- func (_m *Cmdable) ZAdd(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd
- func (_m *Cmdable) ZAddCh(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd
- func (_m *Cmdable) ZAddNX(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd
- func (_m *Cmdable) ZAddNXCh(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd
- func (_m *Cmdable) ZAddXX(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd
- func (_m *Cmdable) ZAddXXCh(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd
- func (_m *Cmdable) ZCard(ctx context.Context, key string) *v8.IntCmd
- func (_m *Cmdable) ZCount(ctx context.Context, key string, min string, max string) *v8.IntCmd
- func (_m *Cmdable) ZDiff(ctx context.Context, keys ...string) *v8.StringSliceCmd
- func (_m *Cmdable) ZDiffStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd
- func (_m *Cmdable) ZDiffWithScores(ctx context.Context, keys ...string) *v8.ZSliceCmd
- func (_m *Cmdable) ZIncr(ctx context.Context, key string, member *v8.Z) *v8.FloatCmd
- func (_m *Cmdable) ZIncrBy(ctx context.Context, key string, increment float64, member string) *v8.FloatCmd
- func (_m *Cmdable) ZIncrNX(ctx context.Context, key string, member *v8.Z) *v8.FloatCmd
- func (_m *Cmdable) ZIncrXX(ctx context.Context, key string, member *v8.Z) *v8.FloatCmd
- func (_m *Cmdable) ZInter(ctx context.Context, store *v8.ZStore) *v8.StringSliceCmd
- func (_m *Cmdable) ZInterStore(ctx context.Context, destination string, store *v8.ZStore) *v8.IntCmd
- func (_m *Cmdable) ZInterWithScores(ctx context.Context, store *v8.ZStore) *v8.ZSliceCmd
- func (_m *Cmdable) ZLexCount(ctx context.Context, key string, min string, max string) *v8.IntCmd
- func (_m *Cmdable) ZMScore(ctx context.Context, key string, members ...string) *v8.FloatSliceCmd
- func (_m *Cmdable) ZPopMax(ctx context.Context, key string, count ...int64) *v8.ZSliceCmd
- func (_m *Cmdable) ZPopMin(ctx context.Context, key string, count ...int64) *v8.ZSliceCmd
- func (_m *Cmdable) ZRandMember(ctx context.Context, key string, count int, withScores bool) *v8.StringSliceCmd
- func (_m *Cmdable) ZRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd
- func (_m *Cmdable) ZRangeByLex(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
- func (_m *Cmdable) ZRangeByScore(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
- func (_m *Cmdable) ZRangeByScoreWithScores(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.ZSliceCmd
- func (_m *Cmdable) ZRangeWithScores(ctx context.Context, key string, start int64, stop int64) *v8.ZSliceCmd
- func (_m *Cmdable) ZRank(ctx context.Context, key string, member string) *v8.IntCmd
- func (_m *Cmdable) ZRem(ctx context.Context, key string, members ...interface{}) *v8.IntCmd
- func (_m *Cmdable) ZRemRangeByLex(ctx context.Context, key string, min string, max string) *v8.IntCmd
- func (_m *Cmdable) ZRemRangeByRank(ctx context.Context, key string, start int64, stop int64) *v8.IntCmd
- func (_m *Cmdable) ZRemRangeByScore(ctx context.Context, key string, min string, max string) *v8.IntCmd
- func (_m *Cmdable) ZRevRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd
- func (_m *Cmdable) ZRevRangeByLex(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
- func (_m *Cmdable) ZRevRangeByScore(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
- func (_m *Cmdable) ZRevRangeByScoreWithScores(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.ZSliceCmd
- func (_m *Cmdable) ZRevRangeWithScores(ctx context.Context, key string, start int64, stop int64) *v8.ZSliceCmd
- func (_m *Cmdable) ZRevRank(ctx context.Context, key string, member string) *v8.IntCmd
- func (_m *Cmdable) ZScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd
- func (_m *Cmdable) ZScore(ctx context.Context, key string, member string) *v8.FloatCmd
- func (_m *Cmdable) ZUnionStore(ctx context.Context, dest string, store *v8.ZStore) *v8.IntCmd
- type Controller
- func (_m *Controller) CreateService(_a0 model.Service) error
- func (_m *Controller) DeleteService(key string) error
- func (_m *Controller) GetService(key string) (model.Service, error)
- func (_m *Controller) GetServices() ([]model.Service, error)
- func (_m *Controller) UpsertService(_a0 model.Service) error
- type Logger
- func (_m *Logger) Debug(args ...interface{})
- func (_m *Logger) Debugf(format string, args ...interface{})
- func (_m *Logger) Debugln(args ...interface{})
- func (_m *Logger) Error(args ...interface{})
- func (_m *Logger) Errorf(format string, args ...interface{})
- func (_m *Logger) Errorln(args ...interface{})
- func (_m *Logger) Fatal(args ...interface{})
- func (_m *Logger) Fatalf(format string, args ...interface{})
- func (_m *Logger) Fatalln(args ...interface{})
- func (_m *Logger) Info(args ...interface{})
- func (_m *Logger) Infof(format string, args ...interface{})
- func (_m *Logger) Infoln(args ...interface{})
- func (_m *Logger) Panic(args ...interface{})
- func (_m *Logger) Panicf(format string, args ...interface{})
- func (_m *Logger) Panicln(args ...interface{})
- func (_m *Logger) Print(args ...interface{})
- func (_m *Logger) Printf(format string, args ...interface{})
- func (_m *Logger) Println(args ...interface{})
- func (_m *Logger) Trace(args ...interface{})
- func (_m *Logger) Tracef(format string, args ...interface{})
- func (_m *Logger) Traceln(args ...interface{})
- func (_m *Logger) Warn(args ...interface{})
- func (_m *Logger) Warnf(format string, args ...interface{})
- func (_m *Logger) Warning(args ...interface{})
- func (_m *Logger) Warningf(format string, args ...interface{})
- func (_m *Logger) Warningln(args ...interface{})
- func (_m *Logger) Warnln(args ...interface{})
- func (_m *Logger) WithField(key string, value interface{}) log.Logger
- func (_m *Logger) WithFields(fields log.Fields) log.Logger
- type Middleware
- type ServiceRepo
- type ShutdownHook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheRepo ¶
CacheRepo is an autogenerated mock type for the CacheRepo type
func (*CacheRepo) Create ¶ added in v0.0.11
Create provides a mock function with given fields: cache, serviceKey
func (*CacheRepo) DeleteByPath ¶ added in v0.0.11
DeleteByPath provides a mock function with given fields: paths
func (*CacheRepo) DeleteByTags ¶ added in v0.0.11
DeleteByTags provides a mock function with given fields: tags
type Cmdable ¶ added in v0.0.11
Cmdable is an autogenerated mock type for the Cmdable type
func (*Cmdable) AllExist ¶ added in v0.0.11
AllExist provides a mock function with given fields: ctx, keys
func (*Cmdable) Append ¶ added in v0.0.11
Append provides a mock function with given fields: ctx, key, value
func (*Cmdable) BLPop ¶ added in v0.0.11
func (_m *Cmdable) BLPop(ctx context.Context, timeout time.Duration, keys ...string) *v8.StringSliceCmd
BLPop provides a mock function with given fields: ctx, timeout, keys
func (*Cmdable) BRPop ¶ added in v0.0.11
func (_m *Cmdable) BRPop(ctx context.Context, timeout time.Duration, keys ...string) *v8.StringSliceCmd
BRPop provides a mock function with given fields: ctx, timeout, keys
func (*Cmdable) BRPopLPush ¶ added in v0.0.11
func (_m *Cmdable) BRPopLPush(ctx context.Context, source string, destination string, timeout time.Duration) *v8.StringCmd
BRPopLPush provides a mock function with given fields: ctx, source, destination, timeout
func (*Cmdable) BZPopMax ¶ added in v0.0.11
func (_m *Cmdable) BZPopMax(ctx context.Context, timeout time.Duration, keys ...string) *v8.ZWithKeyCmd
BZPopMax provides a mock function with given fields: ctx, timeout, keys
func (*Cmdable) BZPopMin ¶ added in v0.0.11
func (_m *Cmdable) BZPopMin(ctx context.Context, timeout time.Duration, keys ...string) *v8.ZWithKeyCmd
BZPopMin provides a mock function with given fields: ctx, timeout, keys
func (*Cmdable) BgRewriteAOF ¶ added in v0.0.11
BgRewriteAOF provides a mock function with given fields: ctx
func (*Cmdable) BitCount ¶ added in v0.0.11
BitCount provides a mock function with given fields: ctx, key, bitCount
func (*Cmdable) BitField ¶ added in v0.0.11
BitField provides a mock function with given fields: ctx, key, args
func (*Cmdable) BitOpAnd ¶ added in v0.0.11
BitOpAnd provides a mock function with given fields: ctx, destKey, keys
func (*Cmdable) BitOpNot ¶ added in v0.0.11
BitOpNot provides a mock function with given fields: ctx, destKey, key
func (*Cmdable) BitOpOr ¶ added in v0.0.11
BitOpOr provides a mock function with given fields: ctx, destKey, keys
func (*Cmdable) BitOpXor ¶ added in v0.0.11
BitOpXor provides a mock function with given fields: ctx, destKey, keys
func (*Cmdable) BitPos ¶ added in v0.0.11
BitPos provides a mock function with given fields: ctx, key, bit, pos
func (*Cmdable) ClientGetName ¶ added in v0.0.11
ClientGetName provides a mock function with given fields: ctx
func (*Cmdable) ClientID ¶ added in v0.0.11
ClientID provides a mock function with given fields: ctx
func (*Cmdable) ClientKill ¶ added in v0.0.11
ClientKill provides a mock function with given fields: ctx, ipPort
func (*Cmdable) ClientKillByFilter ¶ added in v0.0.11
ClientKillByFilter provides a mock function with given fields: ctx, keys
func (*Cmdable) ClientList ¶ added in v0.0.11
ClientList provides a mock function with given fields: ctx
func (*Cmdable) ClientPause ¶ added in v0.0.11
ClientPause provides a mock function with given fields: ctx, dur
func (*Cmdable) ClusterAddSlots ¶ added in v0.0.11
ClusterAddSlots provides a mock function with given fields: ctx, slots
func (*Cmdable) ClusterAddSlotsRange ¶ added in v0.0.11
ClusterAddSlotsRange provides a mock function with given fields: ctx, min, max
func (*Cmdable) ClusterCountFailureReports ¶ added in v0.0.11
ClusterCountFailureReports provides a mock function with given fields: ctx, nodeID
func (*Cmdable) ClusterCountKeysInSlot ¶ added in v0.0.11
ClusterCountKeysInSlot provides a mock function with given fields: ctx, slot
func (*Cmdable) ClusterDelSlots ¶ added in v0.0.11
ClusterDelSlots provides a mock function with given fields: ctx, slots
func (*Cmdable) ClusterDelSlotsRange ¶ added in v0.0.11
ClusterDelSlotsRange provides a mock function with given fields: ctx, min, max
func (*Cmdable) ClusterFailover ¶ added in v0.0.11
ClusterFailover provides a mock function with given fields: ctx
func (*Cmdable) ClusterForget ¶ added in v0.0.11
ClusterForget provides a mock function with given fields: ctx, nodeID
func (*Cmdable) ClusterGetKeysInSlot ¶ added in v0.0.11
func (_m *Cmdable) ClusterGetKeysInSlot(ctx context.Context, slot int, count int) *v8.StringSliceCmd
ClusterGetKeysInSlot provides a mock function with given fields: ctx, slot, count
func (*Cmdable) ClusterInfo ¶ added in v0.0.11
ClusterInfo provides a mock function with given fields: ctx
func (*Cmdable) ClusterKeySlot ¶ added in v0.0.11
ClusterKeySlot provides a mock function with given fields: ctx, key
func (*Cmdable) ClusterMeet ¶ added in v0.0.11
ClusterMeet provides a mock function with given fields: ctx, host, port
func (*Cmdable) ClusterNodes ¶ added in v0.0.11
ClusterNodes provides a mock function with given fields: ctx
func (*Cmdable) ClusterReplicate ¶ added in v0.0.11
ClusterReplicate provides a mock function with given fields: ctx, nodeID
func (*Cmdable) ClusterResetHard ¶ added in v0.0.11
ClusterResetHard provides a mock function with given fields: ctx
func (*Cmdable) ClusterResetSoft ¶ added in v0.0.11
ClusterResetSoft provides a mock function with given fields: ctx
func (*Cmdable) ClusterSaveConfig ¶ added in v0.0.11
ClusterSaveConfig provides a mock function with given fields: ctx
func (*Cmdable) ClusterSlaves ¶ added in v0.0.11
ClusterSlaves provides a mock function with given fields: ctx, nodeID
func (*Cmdable) ClusterSlots ¶ added in v0.0.11
func (_m *Cmdable) ClusterSlots(ctx context.Context) *v8.ClusterSlotsCmd
ClusterSlots provides a mock function with given fields: ctx
func (*Cmdable) Command ¶ added in v0.0.11
func (_m *Cmdable) Command(ctx context.Context) *v8.CommandsInfoCmd
Command provides a mock function with given fields: ctx
func (*Cmdable) ConfigGet ¶ added in v0.0.11
ConfigGet provides a mock function with given fields: ctx, parameter
func (*Cmdable) ConfigResetStat ¶ added in v0.0.11
ConfigResetStat provides a mock function with given fields: ctx
func (*Cmdable) ConfigRewrite ¶ added in v0.0.11
ConfigRewrite provides a mock function with given fields: ctx
func (*Cmdable) ConfigSet ¶ added in v0.0.11
ConfigSet provides a mock function with given fields: ctx, parameter, value
func (*Cmdable) DebugObject ¶ added in v0.0.11
DebugObject provides a mock function with given fields: ctx, key
func (*Cmdable) DecrBy ¶ added in v0.0.11
DecrBy provides a mock function with given fields: ctx, key, decrement
func (*Cmdable) Echo ¶ added in v0.0.11
Echo provides a mock function with given fields: ctx, message
func (*Cmdable) Eval ¶ added in v0.0.11
func (_m *Cmdable) Eval(ctx context.Context, script string, keys []string, args ...interface{}) *v8.Cmd
Eval provides a mock function with given fields: ctx, script, keys, args
func (*Cmdable) EvalSha ¶ added in v0.0.11
func (_m *Cmdable) EvalSha(ctx context.Context, sha1 string, keys []string, args ...interface{}) *v8.Cmd
EvalSha provides a mock function with given fields: ctx, sha1, keys, args
func (*Cmdable) Exists ¶ added in v0.0.11
Exists provides a mock function with given fields: ctx, keys
func (*Cmdable) Expire ¶ added in v0.0.11
Expire provides a mock function with given fields: ctx, key, expiration
func (*Cmdable) ExpireAt ¶ added in v0.0.11
ExpireAt provides a mock function with given fields: ctx, key, tm
func (*Cmdable) FlushAll ¶ added in v0.0.11
FlushAll provides a mock function with given fields: ctx
func (*Cmdable) FlushAllAsync ¶ added in v0.0.11
FlushAllAsync provides a mock function with given fields: ctx
func (*Cmdable) FlushDBAsync ¶ added in v0.0.11
FlushDBAsync provides a mock function with given fields: ctx
func (*Cmdable) GeoAdd ¶ added in v0.0.11
func (_m *Cmdable) GeoAdd(ctx context.Context, key string, geoLocation ...*v8.GeoLocation) *v8.IntCmd
GeoAdd provides a mock function with given fields: ctx, key, geoLocation
func (*Cmdable) GeoDist ¶ added in v0.0.11
func (_m *Cmdable) GeoDist(ctx context.Context, key string, member1 string, member2 string, unit string) *v8.FloatCmd
GeoDist provides a mock function with given fields: ctx, key, member1, member2, unit
func (*Cmdable) GeoHash ¶ added in v0.0.11
GeoHash provides a mock function with given fields: ctx, key, members
func (*Cmdable) GeoPos ¶ added in v0.0.11
GeoPos provides a mock function with given fields: ctx, key, members
func (*Cmdable) GeoRadius ¶ added in v0.0.11
func (_m *Cmdable) GeoRadius(ctx context.Context, key string, longitude float64, latitude float64, query *v8.GeoRadiusQuery) *v8.GeoLocationCmd
GeoRadius provides a mock function with given fields: ctx, key, longitude, latitude, query
func (*Cmdable) GeoRadiusByMember ¶ added in v0.0.11
func (_m *Cmdable) GeoRadiusByMember(ctx context.Context, key string, member string, query *v8.GeoRadiusQuery) *v8.GeoLocationCmd
GeoRadiusByMember provides a mock function with given fields: ctx, key, member, query
func (*Cmdable) GeoRadiusByMemberStore ¶ added in v0.0.11
func (_m *Cmdable) GeoRadiusByMemberStore(ctx context.Context, key string, member string, query *v8.GeoRadiusQuery) *v8.IntCmd
GeoRadiusByMemberStore provides a mock function with given fields: ctx, key, member, query
func (*Cmdable) GeoRadiusStore ¶ added in v0.0.11
func (_m *Cmdable) GeoRadiusStore(ctx context.Context, key string, longitude float64, latitude float64, query *v8.GeoRadiusQuery) *v8.IntCmd
GeoRadiusStore provides a mock function with given fields: ctx, key, longitude, latitude, query
func (*Cmdable) GetBit ¶ added in v0.0.11
GetBit provides a mock function with given fields: ctx, key, offset
func (*Cmdable) GetDel ¶ added in v0.0.11
GetDel provides a mock function with given fields: ctx, key
func (*Cmdable) GetEx ¶ added in v0.0.11
GetEx provides a mock function with given fields: ctx, key, expiration
func (*Cmdable) GetRange ¶ added in v0.0.11
GetRange provides a mock function with given fields: ctx, key, start, end
func (*Cmdable) GetSet ¶ added in v0.0.11
GetSet provides a mock function with given fields: ctx, key, value
func (*Cmdable) HDel ¶ added in v0.0.11
HDel provides a mock function with given fields: ctx, key, fields
func (*Cmdable) HExists ¶ added in v0.0.11
HExists provides a mock function with given fields: ctx, key, field
func (*Cmdable) HGet ¶ added in v0.0.11
HGet provides a mock function with given fields: ctx, key, field
func (*Cmdable) HGetAll ¶ added in v0.0.11
HGetAll provides a mock function with given fields: ctx, key
func (*Cmdable) HIncrBy ¶ added in v0.0.11
HIncrBy provides a mock function with given fields: ctx, key, field, incr
func (*Cmdable) HIncrByFloat ¶ added in v0.0.11
func (_m *Cmdable) HIncrByFloat(ctx context.Context, key string, field string, incr float64) *v8.FloatCmd
HIncrByFloat provides a mock function with given fields: ctx, key, field, incr
func (*Cmdable) HMGet ¶ added in v0.0.11
HMGet provides a mock function with given fields: ctx, key, fields
func (*Cmdable) HMSet ¶ added in v0.0.11
HMSet provides a mock function with given fields: ctx, key, values
func (*Cmdable) HRandField ¶ added in v0.0.11
func (_m *Cmdable) HRandField(ctx context.Context, key string, count int, withValues bool) *v8.StringSliceCmd
HRandField provides a mock function with given fields: ctx, key, count, withValues
func (*Cmdable) HScan ¶ added in v0.0.11
func (_m *Cmdable) HScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd
HScan provides a mock function with given fields: ctx, key, cursor, match, count
func (*Cmdable) HSet ¶ added in v0.0.11
HSet provides a mock function with given fields: ctx, key, values
func (*Cmdable) HSetNX ¶ added in v0.0.11
func (_m *Cmdable) HSetNX(ctx context.Context, key string, field string, value interface{}) *v8.BoolCmd
HSetNX provides a mock function with given fields: ctx, key, field, value
func (*Cmdable) HSetTTL ¶ added in v0.0.11
func (_m *Cmdable) HSetTTL(ctx context.Context, key string, values map[string]interface{}, TTL time.Duration) error
HSetTTL provides a mock function with given fields: ctx, key, values, TTL
func (*Cmdable) IncrBy ¶ added in v0.0.11
IncrBy provides a mock function with given fields: ctx, key, value
func (*Cmdable) IncrByFloat ¶ added in v0.0.11
IncrByFloat provides a mock function with given fields: ctx, key, value
func (*Cmdable) Info ¶ added in v0.0.11
Info provides a mock function with given fields: ctx, section
func (*Cmdable) Keys ¶ added in v0.0.11
Keys provides a mock function with given fields: ctx, pattern
func (*Cmdable) LIndex ¶ added in v0.0.11
LIndex provides a mock function with given fields: ctx, key, index
func (*Cmdable) LInsert ¶ added in v0.0.11
func (_m *Cmdable) LInsert(ctx context.Context, key string, op string, pivot interface{}, value interface{}) *v8.IntCmd
LInsert provides a mock function with given fields: ctx, key, op, pivot, value
func (*Cmdable) LInsertAfter ¶ added in v0.0.11
func (_m *Cmdable) LInsertAfter(ctx context.Context, key string, pivot interface{}, value interface{}) *v8.IntCmd
LInsertAfter provides a mock function with given fields: ctx, key, pivot, value
func (*Cmdable) LInsertBefore ¶ added in v0.0.11
func (_m *Cmdable) LInsertBefore(ctx context.Context, key string, pivot interface{}, value interface{}) *v8.IntCmd
LInsertBefore provides a mock function with given fields: ctx, key, pivot, value
func (*Cmdable) LMove ¶ added in v0.0.11
func (_m *Cmdable) LMove(ctx context.Context, source string, destination string, srcpos string, destpos string) *v8.StringCmd
LMove provides a mock function with given fields: ctx, source, destination, srcpos, destpos
func (*Cmdable) LPopCount ¶ added in v0.0.11
LPopCount provides a mock function with given fields: ctx, key, count
func (*Cmdable) LPos ¶ added in v0.0.11
LPos provides a mock function with given fields: ctx, key, value, args
func (*Cmdable) LPosCount ¶ added in v0.0.11
func (_m *Cmdable) LPosCount(ctx context.Context, key string, value string, count int64, args v8.LPosArgs) *v8.IntSliceCmd
LPosCount provides a mock function with given fields: ctx, key, value, count, args
func (*Cmdable) LPush ¶ added in v0.0.11
LPush provides a mock function with given fields: ctx, key, values
func (*Cmdable) LPushX ¶ added in v0.0.11
LPushX provides a mock function with given fields: ctx, key, values
func (*Cmdable) LRange ¶ added in v0.0.11
func (_m *Cmdable) LRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd
LRange provides a mock function with given fields: ctx, key, start, stop
func (*Cmdable) LRem ¶ added in v0.0.11
LRem provides a mock function with given fields: ctx, key, count, value
func (*Cmdable) LSet ¶ added in v0.0.11
func (_m *Cmdable) LSet(ctx context.Context, key string, index int64, value interface{}) *v8.StatusCmd
LSet provides a mock function with given fields: ctx, key, index, value
func (*Cmdable) LTrim ¶ added in v0.0.11
LTrim provides a mock function with given fields: ctx, key, start, stop
func (*Cmdable) LastSave ¶ added in v0.0.11
LastSave provides a mock function with given fields: ctx
func (*Cmdable) MSet ¶ added in v0.0.11
MSet provides a mock function with given fields: ctx, values
func (*Cmdable) MSetNX ¶ added in v0.0.11
MSetNX provides a mock function with given fields: ctx, values
func (*Cmdable) MemoryUsage ¶ added in v0.0.11
MemoryUsage provides a mock function with given fields: ctx, key, samples
func (*Cmdable) Migrate ¶ added in v0.0.11
func (_m *Cmdable) Migrate(ctx context.Context, host string, port string, key string, db int, timeout time.Duration) *v8.StatusCmd
Migrate provides a mock function with given fields: ctx, host, port, key, db, timeout
func (*Cmdable) Move ¶ added in v0.0.11
Move provides a mock function with given fields: ctx, key, db
func (*Cmdable) ObjectEncoding ¶ added in v0.0.11
ObjectEncoding provides a mock function with given fields: ctx, key
func (*Cmdable) ObjectIdleTime ¶ added in v0.0.11
ObjectIdleTime provides a mock function with given fields: ctx, key
func (*Cmdable) ObjectRefCount ¶ added in v0.0.11
ObjectRefCount provides a mock function with given fields: ctx, key
func (*Cmdable) OptimisticLockTx ¶ added in v0.0.11
func (_m *Cmdable) OptimisticLockTx(ctx context.Context, maxRetries int, txFn func(*v8.Tx) error, keys ...string) error
OptimisticLockTx provides a mock function with given fields: ctx, maxRetries, txFn, keys
func (*Cmdable) PExpire ¶ added in v0.0.11
PExpire provides a mock function with given fields: ctx, key, expiration
func (*Cmdable) PExpireAt ¶ added in v0.0.11
PExpireAt provides a mock function with given fields: ctx, key, tm
func (*Cmdable) PFAdd ¶ added in v0.0.11
PFAdd provides a mock function with given fields: ctx, key, els
func (*Cmdable) PFCount ¶ added in v0.0.11
PFCount provides a mock function with given fields: ctx, keys
func (*Cmdable) PFMerge ¶ added in v0.0.11
PFMerge provides a mock function with given fields: ctx, dest, keys
func (*Cmdable) Persist ¶ added in v0.0.11
Persist provides a mock function with given fields: ctx, key
func (*Cmdable) Pipelined ¶ added in v0.0.11
Pipelined provides a mock function with given fields: ctx, fn
func (*Cmdable) PubSubChannels ¶ added in v0.0.11
PubSubChannels provides a mock function with given fields: ctx, pattern
func (*Cmdable) PubSubNumPat ¶ added in v0.0.11
PubSubNumPat provides a mock function with given fields: ctx
func (*Cmdable) PubSubNumSub ¶ added in v0.0.11
PubSubNumSub provides a mock function with given fields: ctx, channels
func (*Cmdable) Publish ¶ added in v0.0.11
Publish provides a mock function with given fields: ctx, channel, message
func (*Cmdable) RPopLPush ¶ added in v0.0.11
RPopLPush provides a mock function with given fields: ctx, source, destination
func (*Cmdable) RPush ¶ added in v0.0.11
RPush provides a mock function with given fields: ctx, key, values
func (*Cmdable) RPushX ¶ added in v0.0.11
RPushX provides a mock function with given fields: ctx, key, values
func (*Cmdable) RandomKey ¶ added in v0.0.11
RandomKey provides a mock function with given fields: ctx
func (*Cmdable) ReadOnly ¶ added in v0.0.11
ReadOnly provides a mock function with given fields: ctx
func (*Cmdable) ReadWrite ¶ added in v0.0.11
ReadWrite provides a mock function with given fields: ctx
func (*Cmdable) Rename ¶ added in v0.0.11
Rename provides a mock function with given fields: ctx, key, newkey
func (*Cmdable) RenameNX ¶ added in v0.0.11
RenameNX provides a mock function with given fields: ctx, key, newkey
func (*Cmdable) Restore ¶ added in v0.0.11
func (_m *Cmdable) Restore(ctx context.Context, key string, ttl time.Duration, value string) *v8.StatusCmd
Restore provides a mock function with given fields: ctx, key, ttl, value
func (*Cmdable) RestoreReplace ¶ added in v0.0.11
func (_m *Cmdable) RestoreReplace(ctx context.Context, key string, ttl time.Duration, value string) *v8.StatusCmd
RestoreReplace provides a mock function with given fields: ctx, key, ttl, value
func (*Cmdable) SAdd ¶ added in v0.0.11
SAdd provides a mock function with given fields: ctx, key, members
func (*Cmdable) SAddTTL ¶ added in v0.0.11
func (_m *Cmdable) SAddTTL(ctx context.Context, key string, TTL time.Duration, members ...interface{}) error
SAddTTL provides a mock function with given fields: ctx, key, TTL, members
func (*Cmdable) SDiff ¶ added in v0.0.11
SDiff provides a mock function with given fields: ctx, keys
func (*Cmdable) SDiffStore ¶ added in v0.0.11
SDiffStore provides a mock function with given fields: ctx, destination, keys
func (*Cmdable) SInter ¶ added in v0.0.11
SInter provides a mock function with given fields: ctx, keys
func (*Cmdable) SInterStore ¶ added in v0.0.11
SInterStore provides a mock function with given fields: ctx, destination, keys
func (*Cmdable) SIsMember ¶ added in v0.0.11
SIsMember provides a mock function with given fields: ctx, key, member
func (*Cmdable) SMIsMember ¶ added in v0.0.11
func (_m *Cmdable) SMIsMember(ctx context.Context, key string, members ...interface{}) *v8.BoolSliceCmd
SMIsMember provides a mock function with given fields: ctx, key, members
func (*Cmdable) SMembers ¶ added in v0.0.11
SMembers provides a mock function with given fields: ctx, key
func (*Cmdable) SMembersMap ¶ added in v0.0.11
SMembersMap provides a mock function with given fields: ctx, key
func (*Cmdable) SMove ¶ added in v0.0.11
func (_m *Cmdable) SMove(ctx context.Context, source string, destination string, member interface{}) *v8.BoolCmd
SMove provides a mock function with given fields: ctx, source, destination, member
func (*Cmdable) SPopN ¶ added in v0.0.11
SPopN provides a mock function with given fields: ctx, key, count
func (*Cmdable) SRandMember ¶ added in v0.0.11
SRandMember provides a mock function with given fields: ctx, key
func (*Cmdable) SRandMemberN ¶ added in v0.0.11
SRandMemberN provides a mock function with given fields: ctx, key, count
func (*Cmdable) SRem ¶ added in v0.0.11
SRem provides a mock function with given fields: ctx, key, members
func (*Cmdable) SScan ¶ added in v0.0.11
func (_m *Cmdable) SScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd
SScan provides a mock function with given fields: ctx, key, cursor, match, count
func (*Cmdable) SUnion ¶ added in v0.0.11
SUnion provides a mock function with given fields: ctx, keys
func (*Cmdable) SUnionStore ¶ added in v0.0.11
SUnionStore provides a mock function with given fields: ctx, destination, keys
func (*Cmdable) Scan ¶ added in v0.0.11
Scan provides a mock function with given fields: ctx, cursor, match, count
func (*Cmdable) ScanType ¶ added in v0.0.11
func (_m *Cmdable) ScanType(ctx context.Context, cursor uint64, match string, count int64, keyType string) *v8.ScanCmd
ScanType provides a mock function with given fields: ctx, cursor, match, count, keyType
func (*Cmdable) ScriptExists ¶ added in v0.0.11
ScriptExists provides a mock function with given fields: ctx, hashes
func (*Cmdable) ScriptFlush ¶ added in v0.0.11
ScriptFlush provides a mock function with given fields: ctx
func (*Cmdable) ScriptKill ¶ added in v0.0.11
ScriptKill provides a mock function with given fields: ctx
func (*Cmdable) ScriptLoad ¶ added in v0.0.11
ScriptLoad provides a mock function with given fields: ctx, script
func (*Cmdable) Set ¶ added in v0.0.11
func (_m *Cmdable) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.StatusCmd
Set provides a mock function with given fields: ctx, key, value, expiration
func (*Cmdable) SetArgs ¶ added in v0.0.11
func (_m *Cmdable) SetArgs(ctx context.Context, key string, value interface{}, a v8.SetArgs) *v8.StatusCmd
SetArgs provides a mock function with given fields: ctx, key, value, a
func (*Cmdable) SetBit ¶ added in v0.0.11
SetBit provides a mock function with given fields: ctx, key, offset, value
func (*Cmdable) SetEX ¶ added in v0.0.11
func (_m *Cmdable) SetEX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.StatusCmd
SetEX provides a mock function with given fields: ctx, key, value, expiration
func (*Cmdable) SetNX ¶ added in v0.0.11
func (_m *Cmdable) SetNX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.BoolCmd
SetNX provides a mock function with given fields: ctx, key, value, expiration
func (*Cmdable) SetRange ¶ added in v0.0.11
SetRange provides a mock function with given fields: ctx, key, offset, value
func (*Cmdable) SetXX ¶ added in v0.0.11
func (_m *Cmdable) SetXX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.BoolCmd
SetXX provides a mock function with given fields: ctx, key, value, expiration
func (*Cmdable) Shutdown ¶ added in v0.0.11
Shutdown provides a mock function with given fields: ctx
func (*Cmdable) ShutdownNoSave ¶ added in v0.0.11
ShutdownNoSave provides a mock function with given fields: ctx
func (*Cmdable) ShutdownSave ¶ added in v0.0.11
ShutdownSave provides a mock function with given fields: ctx
func (*Cmdable) SlaveOf ¶ added in v0.0.11
SlaveOf provides a mock function with given fields: ctx, host, port
func (*Cmdable) Sort ¶ added in v0.0.11
Sort provides a mock function with given fields: ctx, key, sort
func (*Cmdable) SortInterfaces ¶ added in v0.0.11
SortInterfaces provides a mock function with given fields: ctx, key, sort
func (*Cmdable) SortStore ¶ added in v0.0.11
func (_m *Cmdable) SortStore(ctx context.Context, key string, store string, sort *v8.Sort) *v8.IntCmd
SortStore provides a mock function with given fields: ctx, key, store, sort
func (*Cmdable) StrLen ¶ added in v0.0.11
StrLen provides a mock function with given fields: ctx, key
func (*Cmdable) Touch ¶ added in v0.0.11
Touch provides a mock function with given fields: ctx, keys
func (*Cmdable) TxPipeline ¶ added in v0.0.11
TxPipeline provides a mock function with given fields:
func (*Cmdable) TxPipelined ¶ added in v0.0.11
func (_m *Cmdable) TxPipelined(ctx context.Context, fn func(v8.Pipeliner) error) ([]v8.Cmder, error)
TxPipelined provides a mock function with given fields: ctx, fn
func (*Cmdable) Unlink ¶ added in v0.0.11
Unlink provides a mock function with given fields: ctx, keys
func (*Cmdable) XAck ¶ added in v0.0.11
XAck provides a mock function with given fields: ctx, stream, group, ids
func (*Cmdable) XClaim ¶ added in v0.0.11
func (_m *Cmdable) XClaim(ctx context.Context, a *v8.XClaimArgs) *v8.XMessageSliceCmd
XClaim provides a mock function with given fields: ctx, a
func (*Cmdable) XClaimJustID ¶ added in v0.0.11
func (_m *Cmdable) XClaimJustID(ctx context.Context, a *v8.XClaimArgs) *v8.StringSliceCmd
XClaimJustID provides a mock function with given fields: ctx, a
func (*Cmdable) XDel ¶ added in v0.0.11
XDel provides a mock function with given fields: ctx, stream, ids
func (*Cmdable) XGroupCreate ¶ added in v0.0.11
func (_m *Cmdable) XGroupCreate(ctx context.Context, stream string, group string, start string) *v8.StatusCmd
XGroupCreate provides a mock function with given fields: ctx, stream, group, start
func (*Cmdable) XGroupCreateMkStream ¶ added in v0.0.11
func (_m *Cmdable) XGroupCreateMkStream(ctx context.Context, stream string, group string, start string) *v8.StatusCmd
XGroupCreateMkStream provides a mock function with given fields: ctx, stream, group, start
func (*Cmdable) XGroupDelConsumer ¶ added in v0.0.11
func (_m *Cmdable) XGroupDelConsumer(ctx context.Context, stream string, group string, consumer string) *v8.IntCmd
XGroupDelConsumer provides a mock function with given fields: ctx, stream, group, consumer
func (*Cmdable) XGroupDestroy ¶ added in v0.0.11
XGroupDestroy provides a mock function with given fields: ctx, stream, group
func (*Cmdable) XGroupSetID ¶ added in v0.0.11
func (_m *Cmdable) XGroupSetID(ctx context.Context, stream string, group string, start string) *v8.StatusCmd
XGroupSetID provides a mock function with given fields: ctx, stream, group, start
func (*Cmdable) XInfoConsumers ¶ added in v0.0.11
func (_m *Cmdable) XInfoConsumers(ctx context.Context, key string, group string) *v8.XInfoConsumersCmd
XInfoConsumers provides a mock function with given fields: ctx, key, group
func (*Cmdable) XInfoGroups ¶ added in v0.0.11
XInfoGroups provides a mock function with given fields: ctx, key
func (*Cmdable) XInfoStream ¶ added in v0.0.11
XInfoStream provides a mock function with given fields: ctx, key
func (*Cmdable) XLen ¶ added in v0.0.11
XLen provides a mock function with given fields: ctx, stream
func (*Cmdable) XPending ¶ added in v0.0.11
XPending provides a mock function with given fields: ctx, stream, group
func (*Cmdable) XPendingExt ¶ added in v0.0.11
func (_m *Cmdable) XPendingExt(ctx context.Context, a *v8.XPendingExtArgs) *v8.XPendingExtCmd
XPendingExt provides a mock function with given fields: ctx, a
func (*Cmdable) XRange ¶ added in v0.0.11
func (_m *Cmdable) XRange(ctx context.Context, stream string, start string, stop string) *v8.XMessageSliceCmd
XRange provides a mock function with given fields: ctx, stream, start, stop
func (*Cmdable) XRangeN ¶ added in v0.0.11
func (_m *Cmdable) XRangeN(ctx context.Context, stream string, start string, stop string, count int64) *v8.XMessageSliceCmd
XRangeN provides a mock function with given fields: ctx, stream, start, stop, count
func (*Cmdable) XReadGroup ¶ added in v0.0.11
func (_m *Cmdable) XReadGroup(ctx context.Context, a *v8.XReadGroupArgs) *v8.XStreamSliceCmd
XReadGroup provides a mock function with given fields: ctx, a
func (*Cmdable) XReadStreams ¶ added in v0.0.11
XReadStreams provides a mock function with given fields: ctx, streams
func (*Cmdable) XRevRange ¶ added in v0.0.11
func (_m *Cmdable) XRevRange(ctx context.Context, stream string, start string, stop string) *v8.XMessageSliceCmd
XRevRange provides a mock function with given fields: ctx, stream, start, stop
func (*Cmdable) XRevRangeN ¶ added in v0.0.11
func (_m *Cmdable) XRevRangeN(ctx context.Context, stream string, start string, stop string, count int64) *v8.XMessageSliceCmd
XRevRangeN provides a mock function with given fields: ctx, stream, start, stop, count
func (*Cmdable) XTrim ¶ added in v0.0.11
XTrim provides a mock function with given fields: ctx, key, maxLen
func (*Cmdable) XTrimApprox ¶ added in v0.0.11
XTrimApprox provides a mock function with given fields: ctx, key, maxLen
func (*Cmdable) ZAdd ¶ added in v0.0.11
ZAdd provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZAddCh ¶ added in v0.0.11
ZAddCh provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZAddNX ¶ added in v0.0.11
ZAddNX provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZAddNXCh ¶ added in v0.0.11
ZAddNXCh provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZAddXX ¶ added in v0.0.11
ZAddXX provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZAddXXCh ¶ added in v0.0.11
ZAddXXCh provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZCount ¶ added in v0.0.11
ZCount provides a mock function with given fields: ctx, key, min, max
func (*Cmdable) ZDiff ¶ added in v0.0.11
ZDiff provides a mock function with given fields: ctx, keys
func (*Cmdable) ZDiffStore ¶ added in v0.0.11
ZDiffStore provides a mock function with given fields: ctx, destination, keys
func (*Cmdable) ZDiffWithScores ¶ added in v0.0.11
ZDiffWithScores provides a mock function with given fields: ctx, keys
func (*Cmdable) ZIncr ¶ added in v0.0.11
ZIncr provides a mock function with given fields: ctx, key, member
func (*Cmdable) ZIncrBy ¶ added in v0.0.11
func (_m *Cmdable) ZIncrBy(ctx context.Context, key string, increment float64, member string) *v8.FloatCmd
ZIncrBy provides a mock function with given fields: ctx, key, increment, member
func (*Cmdable) ZIncrNX ¶ added in v0.0.11
ZIncrNX provides a mock function with given fields: ctx, key, member
func (*Cmdable) ZIncrXX ¶ added in v0.0.11
ZIncrXX provides a mock function with given fields: ctx, key, member
func (*Cmdable) ZInter ¶ added in v0.0.11
ZInter provides a mock function with given fields: ctx, store
func (*Cmdable) ZInterStore ¶ added in v0.0.11
func (_m *Cmdable) ZInterStore(ctx context.Context, destination string, store *v8.ZStore) *v8.IntCmd
ZInterStore provides a mock function with given fields: ctx, destination, store
func (*Cmdable) ZInterWithScores ¶ added in v0.0.11
ZInterWithScores provides a mock function with given fields: ctx, store
func (*Cmdable) ZLexCount ¶ added in v0.0.11
ZLexCount provides a mock function with given fields: ctx, key, min, max
func (*Cmdable) ZMScore ¶ added in v0.0.11
ZMScore provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZPopMax ¶ added in v0.0.11
ZPopMax provides a mock function with given fields: ctx, key, count
func (*Cmdable) ZPopMin ¶ added in v0.0.11
ZPopMin provides a mock function with given fields: ctx, key, count
func (*Cmdable) ZRandMember ¶ added in v0.0.11
func (_m *Cmdable) ZRandMember(ctx context.Context, key string, count int, withScores bool) *v8.StringSliceCmd
ZRandMember provides a mock function with given fields: ctx, key, count, withScores
func (*Cmdable) ZRange ¶ added in v0.0.11
func (_m *Cmdable) ZRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd
ZRange provides a mock function with given fields: ctx, key, start, stop
func (*Cmdable) ZRangeByLex ¶ added in v0.0.11
func (_m *Cmdable) ZRangeByLex(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
ZRangeByLex provides a mock function with given fields: ctx, key, opt
func (*Cmdable) ZRangeByScore ¶ added in v0.0.11
func (_m *Cmdable) ZRangeByScore(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
ZRangeByScore provides a mock function with given fields: ctx, key, opt
func (*Cmdable) ZRangeByScoreWithScores ¶ added in v0.0.11
func (_m *Cmdable) ZRangeByScoreWithScores(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.ZSliceCmd
ZRangeByScoreWithScores provides a mock function with given fields: ctx, key, opt
func (*Cmdable) ZRangeWithScores ¶ added in v0.0.11
func (_m *Cmdable) ZRangeWithScores(ctx context.Context, key string, start int64, stop int64) *v8.ZSliceCmd
ZRangeWithScores provides a mock function with given fields: ctx, key, start, stop
func (*Cmdable) ZRank ¶ added in v0.0.11
ZRank provides a mock function with given fields: ctx, key, member
func (*Cmdable) ZRem ¶ added in v0.0.11
ZRem provides a mock function with given fields: ctx, key, members
func (*Cmdable) ZRemRangeByLex ¶ added in v0.0.11
func (_m *Cmdable) ZRemRangeByLex(ctx context.Context, key string, min string, max string) *v8.IntCmd
ZRemRangeByLex provides a mock function with given fields: ctx, key, min, max
func (*Cmdable) ZRemRangeByRank ¶ added in v0.0.11
func (_m *Cmdable) ZRemRangeByRank(ctx context.Context, key string, start int64, stop int64) *v8.IntCmd
ZRemRangeByRank provides a mock function with given fields: ctx, key, start, stop
func (*Cmdable) ZRemRangeByScore ¶ added in v0.0.11
func (_m *Cmdable) ZRemRangeByScore(ctx context.Context, key string, min string, max string) *v8.IntCmd
ZRemRangeByScore provides a mock function with given fields: ctx, key, min, max
func (*Cmdable) ZRevRange ¶ added in v0.0.11
func (_m *Cmdable) ZRevRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd
ZRevRange provides a mock function with given fields: ctx, key, start, stop
func (*Cmdable) ZRevRangeByLex ¶ added in v0.0.11
func (_m *Cmdable) ZRevRangeByLex(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
ZRevRangeByLex provides a mock function with given fields: ctx, key, opt
func (*Cmdable) ZRevRangeByScore ¶ added in v0.0.11
func (_m *Cmdable) ZRevRangeByScore(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd
ZRevRangeByScore provides a mock function with given fields: ctx, key, opt
func (*Cmdable) ZRevRangeByScoreWithScores ¶ added in v0.0.11
func (_m *Cmdable) ZRevRangeByScoreWithScores(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.ZSliceCmd
ZRevRangeByScoreWithScores provides a mock function with given fields: ctx, key, opt
func (*Cmdable) ZRevRangeWithScores ¶ added in v0.0.11
func (_m *Cmdable) ZRevRangeWithScores(ctx context.Context, key string, start int64, stop int64) *v8.ZSliceCmd
ZRevRangeWithScores provides a mock function with given fields: ctx, key, start, stop
func (*Cmdable) ZRevRank ¶ added in v0.0.11
ZRevRank provides a mock function with given fields: ctx, key, member
func (*Cmdable) ZScan ¶ added in v0.0.11
func (_m *Cmdable) ZScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd
ZScan provides a mock function with given fields: ctx, key, cursor, match, count
type Controller ¶ added in v0.0.11
Controller is an autogenerated mock type for the Controller type
func (*Controller) CreateService ¶ added in v0.0.11
func (_m *Controller) CreateService(_a0 model.Service) error
CreateService provides a mock function with given fields: _a0
func (*Controller) DeleteService ¶ added in v0.0.11
func (_m *Controller) DeleteService(key string) error
DeleteService provides a mock function with given fields: key
func (*Controller) GetService ¶ added in v0.0.11
func (_m *Controller) GetService(key string) (model.Service, error)
GetService provides a mock function with given fields: key
func (*Controller) GetServices ¶ added in v0.0.11
func (_m *Controller) GetServices() ([]model.Service, error)
GetServices provides a mock function with given fields:
func (*Controller) UpsertService ¶ added in v0.0.11
func (_m *Controller) UpsertService(_a0 model.Service) error
UpsertService provides a mock function with given fields: _a0
type Logger ¶ added in v0.0.11
Logger is an autogenerated mock type for the Logger type
func (*Logger) Debug ¶ added in v0.0.11
func (_m *Logger) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*Logger) Debugf ¶ added in v0.0.11
Debugf provides a mock function with given fields: format, args
func (*Logger) Debugln ¶ added in v0.0.11
func (_m *Logger) Debugln(args ...interface{})
Debugln provides a mock function with given fields: args
func (*Logger) Error ¶ added in v0.0.11
func (_m *Logger) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*Logger) Errorf ¶ added in v0.0.11
Errorf provides a mock function with given fields: format, args
func (*Logger) Errorln ¶ added in v0.0.11
func (_m *Logger) Errorln(args ...interface{})
Errorln provides a mock function with given fields: args
func (*Logger) Fatal ¶ added in v0.0.11
func (_m *Logger) Fatal(args ...interface{})
Fatal provides a mock function with given fields: args
func (*Logger) Fatalf ¶ added in v0.0.11
Fatalf provides a mock function with given fields: format, args
func (*Logger) Fatalln ¶ added in v0.0.11
func (_m *Logger) Fatalln(args ...interface{})
Fatalln provides a mock function with given fields: args
func (*Logger) Info ¶ added in v0.0.11
func (_m *Logger) Info(args ...interface{})
Info provides a mock function with given fields: args
func (*Logger) Infof ¶ added in v0.0.11
Infof provides a mock function with given fields: format, args
func (*Logger) Infoln ¶ added in v0.0.11
func (_m *Logger) Infoln(args ...interface{})
Infoln provides a mock function with given fields: args
func (*Logger) Panic ¶ added in v0.0.11
func (_m *Logger) Panic(args ...interface{})
Panic provides a mock function with given fields: args
func (*Logger) Panicf ¶ added in v0.0.11
Panicf provides a mock function with given fields: format, args
func (*Logger) Panicln ¶ added in v0.0.11
func (_m *Logger) Panicln(args ...interface{})
Panicln provides a mock function with given fields: args
func (*Logger) Print ¶ added in v0.0.11
func (_m *Logger) Print(args ...interface{})
Print provides a mock function with given fields: args
func (*Logger) Printf ¶ added in v0.0.11
Printf provides a mock function with given fields: format, args
func (*Logger) Println ¶ added in v0.0.11
func (_m *Logger) Println(args ...interface{})
Println provides a mock function with given fields: args
func (*Logger) Trace ¶ added in v0.0.11
func (_m *Logger) Trace(args ...interface{})
Trace provides a mock function with given fields: args
func (*Logger) Tracef ¶ added in v0.0.11
Tracef provides a mock function with given fields: format, args
func (*Logger) Traceln ¶ added in v0.0.11
func (_m *Logger) Traceln(args ...interface{})
Traceln provides a mock function with given fields: args
func (*Logger) Warn ¶ added in v0.0.11
func (_m *Logger) Warn(args ...interface{})
Warn provides a mock function with given fields: args
func (*Logger) Warnf ¶ added in v0.0.11
Warnf provides a mock function with given fields: format, args
func (*Logger) Warning ¶ added in v0.0.11
func (_m *Logger) Warning(args ...interface{})
Warning provides a mock function with given fields: args
func (*Logger) Warningf ¶ added in v0.0.11
Warningf provides a mock function with given fields: format, args
func (*Logger) Warningln ¶ added in v0.0.11
func (_m *Logger) Warningln(args ...interface{})
Warningln provides a mock function with given fields: args
func (*Logger) Warnln ¶ added in v0.0.11
func (_m *Logger) Warnln(args ...interface{})
Warnln provides a mock function with given fields: args
type Middleware ¶ added in v0.0.11
Middleware is an autogenerated mock type for the Middleware type
func (*Middleware) MiddlewareFunc ¶ added in v0.0.11
func (_m *Middleware) MiddlewareFunc(next http.Handler) http.Handler
MiddlewareFunc provides a mock function with given fields: next
type ServiceRepo ¶
ServiceRepo is an autogenerated mock type for the ServiceRepo type
func (*ServiceRepo) Create ¶ added in v0.0.11
func (_m *ServiceRepo) Create(service model.Service) error
Create provides a mock function with given fields: service
func (*ServiceRepo) Delete ¶ added in v0.0.11
func (_m *ServiceRepo) Delete(key string) error
Delete provides a mock function with given fields: key
func (*ServiceRepo) Get ¶ added in v0.0.11
func (_m *ServiceRepo) Get(key string) (model.Service, error)
Get provides a mock function with given fields: key
type ShutdownHook ¶ added in v0.0.11
ShutdownHook is an autogenerated mock type for the ShutdownHook type
func (*ShutdownHook) Execute ¶ added in v0.0.11
func (_m *ShutdownHook) Execute()
Execute provides a mock function with given fields: