Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alphazero/Go-Redis
/ functions
Functions
562 in github.com/alphazero/Go-Redis
⨍
Functions
562
◇
Types & classes
70
↓ 1 callers
Method
Keys
Redis KEYS command.
synchclient.go:119
↓ 1 callers
Method
Keys
Redis KEYS command.
asynchclient.go:125
↓ 1 callers
Function
NewAsyncClient
---------------------------------------------------------------------- Client factories --------------------------------------------------------------
test/support.go:68
↓ 1 callers
Function
NewAsyncClientWithSpec
(t *testing.T, spec *redis.ConnectionSpec)
test/support.go:72
↓ 1 callers
Function
NewAsynchClientWithSpec
Create a new asynClient and connects to the Redis server using the specified ConnectionSpec.
asynchclient.go:42
↓ 1 callers
Function
NewAsynchConnection
Creates and opens a new AsyncConnection and starts the goroutines for request and response processing interaction with redis (AUTH &| SELECT)
connection.go:524
↓ 1 callers
Function
NewPubSubClientWithSpec
(spec *ConnectionSpec)
pubsubclient.go:32
↓ 1 callers
Function
NewPubSubConnection
(spec *ConnectionSpec)
connection.go:541
↓ 1 callers
Function
NewSyncConnection
Creates a new SyncConnection using the provided ConnectionSpec. Note that this function will also connect to the specified redis server.
connection.go:320
↓ 1 callers
Function
NewSynchClientWithSpec
Create a new syncClient and connects to the Redis server using the specified ConnectionSpec.
synchclient.go:52
↓ 1 callers
Method
Port
Sets the port for connection spec and returns the reference Note that you should not this after you have already connected.
connection.go:132
↓ 1 callers
Function
QuitAsyncClient
(t *testing.T, client redis.AsyncClient)
test/support.go:130
↓ 1 callers
Function
QuitClient
(t *testing.T, client redis.Client)
test/support.go:144
↓ 1 callers
Method
Rename
Redis RENAME command.
redis.go:141
↓ 1 callers
Method
Save
Redis SAVE command.
redis.go:129
↓ 1 callers
Method
Subscriptions
()
pubsubclient.go:65
↓ 1 callers
Method
Zadd
Redis ZADD command.
redis.go:270
↓ 1 callers
Function
asyncClientMethodSpec
(defspec *MethodSpec, method string)
specification.go:281
↓ 1 callers
Function
asyncFlushAndQuitOnCompletion
(t *testing.T, client redis.AsyncClient)
test/async_test.go:14
↓ 1 callers
Function
asyncPublish
(spec *redis.ConnectionSpec, channel string)
examples/publisher.go:77
↓ 1 callers
Function
benchTask
(taskspec taskSpec, iterations int, workers int, printReport bool)
bench/gosynchclient.go:72
↓ 1 callers
Function
benchTask
Use a single redis.AsyncClient with specified number of workers to bench concurrent load on the async client
bench/asyncbench.go:70
↓ 1 callers
Function
cleanup
(data []byte)
test/gen/generate.go:84
↓ 1 callers
Function
configureConn
(conn net.Conn, spec *ConnectionSpec)
connection.go:266
↓ 1 callers
Method
disconnect
disconnects from net connections and sets connected state to false panics on net error (with error)
connection.go:305
↓ 1 callers
Function
doGet
(client redis.Client, cnt int)
bench/synchclient.go:127
↓ 1 callers
Function
doIncr
(client redis.Client, cnt int)
bench/synchclient.go:106
↓ 1 callers
Function
doLpop
(client redis.Client, cnt int)
bench/synchclient.go:168
↓ 1 callers
Function
doLpush
(client redis.Client, cnt int)
bench/synchclient.go:148
↓ 1 callers
Function
doOne
(cnt int)
bench/synchclient.go:40
↓ 1 callers
Function
doPing
(client redis.Client, cnt int)
bench/synchclient.go:97
↓ 1 callers
Function
doRpop
(client redis.Client, cnt int)
bench/synchclient.go:177
↓ 1 callers
Function
doRpush
(client redis.Client, cnt int)
bench/synchclient.go:158
↓ 1 callers
Function
doSadd
(client redis.Client, cnt int)
bench/synchclient.go:137
↓ 1 callers
Function
doSet
(client redis.Client, cnt int)
bench/synchclient.go:116
↓ 1 callers
Function
failedTest
(msg string)
bench/synchclient.go:29
↓ 1 callers
Function
funcmap
()
test/gen/generate.go:208
↓ 1 callers
Function
getDefinedMethods
Reflect over the methods defined in redis.Client and send back as []string (tolowercase) TOOD get rid of redundant code in switch (REVU: needs minor u
compliance/compliance.go:118
↓ 1 callers
Function
getMethodInArgs
(m reflect.Method)
test/gen/generate.go:133
↓ 1 callers
Function
getMethodOutArgs
(m reflect.Method)
test/gen/generate.go:142
↓ 1 callers
Function
getMethodOutArgsWIP
(m reflect.Method)
test/gen/generate.go:152
↓ 1 callers
Function
getSpecFileName
Reads the spec file to use for the check csmetafile is the name of the expected prop file and should contain just the name of another file.
compliance/compliance.go:156
↓ 1 callers
Function
getSubjects
()
test/gen/generate.go:201
↓ 1 callers
Function
getTestReaderAndMessages
()
test/protocol_test.go:76
↓ 1 callers
Function
gofmt
(path string)
test/gen/generate.go:64
↓ 1 callers
Function
isGenericError
(e interface{})
error.go:129
↓ 1 callers
Function
isNetError
(e interface{})
error.go:148
↓ 1 callers
Function
isRedisError
(e interface{})
error.go:142
↓ 1 callers
Function
loadMethodTestTemplate
(subject reflect.Type)
test/gen/generate.go:94
↓ 1 callers
Function
makeConcurrentClients
(workers int)
bench/gosynchclient.go:98
↓ 1 callers
Function
newFutureBytesArray
()
future.go:147
↓ 1 callers
Function
newFutureFloat64
(future FutureBytes)
future.go:263
↓ 1 callers
Function
newFutureInfo
(future FutureBytes)
redisfutures.go:58
↓ 1 callers
Function
newFutureInt64
()
future.go:235
↓ 1 callers
Function
newFutureKeyType
(future FutureString)
redisfutures.go:87
↓ 1 callers
Function
newFutureKeys
(future FutureBytes)
redisfutures.go:29
↓ 1 callers
Function
newFutureString
()
future.go:207
↓ 1 callers
Function
newMessage
(topic string, Body []byte)
protocol.go:320
↓ 1 callers
Function
newSubcribeAck
(topic string, scnt int)
protocol.go:336
↓ 1 callers
Function
newUnsubcribeAck
(topic string, scnt int)
protocol.go:340
↓ 1 callers
Method
nextId
request id needs to be unique in context of associated connection only one goroutine calls this so no need to provide concurrency guards
connection.go:1050
↓ 1 callers
Function
onError
(msg string, e error)
bench/synchclient.go:25
↓ 1 callers
Function
pubsubClientMethodSpec
(defspec *MethodSpec, method string)
specification.go:291
↓ 1 callers
Function
readCommandsFromSpecFile
Fully reads the file named (specfile) and converts content to a []string. It is expected that the file is a simple list of redis commands, each on a
compliance/compliance.go:99
↓ 1 callers
Function
renderFeatureTest
(w io.Writer, ctype reflect.Type, m reflect.Method, t *template.Template)
test/gen/generate.go:185
↓ 1 callers
Function
report
(cmd string, delta time.Duration, cnt int)
bench/gosynchclient.go:112
↓ 1 callers
Function
report
(cmd string, workers int, delta time.Duration, cnt int)
bench/asyncbench.go:122
↓ 1 callers
Function
reportCompliance
check method name map against spec'd method names and report undefined methods
compliance/compliance.go:82
↓ 1 callers
Function
setup
(client redis.AsyncClient)
bench/asyncbench.go:107
↓ 1 callers
Function
syncClientMethodSpec
(defspec *MethodSpec, method string)
specification.go:271
↓ 1 callers
Function
syncPublish
(spec *redis.ConnectionSpec, channel string)
examples/publisher.go:56
↓ 1 callers
Function
verifyMessage
verifies obtained message against expected Note: func uses t.Errorf and NOT Fatalf.
test/protocol_test.go:47
↓ 1 callers
Function
verifyOrCreateDir
(ctype reflect.Type)
test/gen/generate.go:77
↓ 1 callers
Function
withError
---------------------------------------------------------------------- temp legacy junk --------------------------------------------------------------
error.go:169
↓ 1 callers
Function
writeTestFile
(path string, data []byte, subject reflect.Type, method reflect.Method)
test/gen/generate.go:106
Method
AllKeys
Redis KEYS command using "*" wildcard
redis.go:353
Method
AllKeys
Redis KEYS command.
synchclient.go:114
Method
AllKeys
Redis KEYS command.
asynchclient.go:120
Method
Bgsave
Redis BGSAVE command.
redis.go:309
Method
Bgsave
Redis BGSAVE command.
redis.go:512
Method
Bgsave
Redis BGSAVE command.
synchclient.go:918
Method
Bgsave
Redis BGSAVE command.
asynchclient.go:925
Method
Blpop
Redis BLPOP command.
redis.go:216
Method
Blpop
Redis BLPOP command.
synchclient.go:493
Method
Blpop
Redis BLPOP command.
asynchclient.go:491
Method
Brpop
Redis BRPOP command.
redis.go:222
Method
Brpop
Redis BRPOP command.
synchclient.go:520
Method
Brpop
Redis BRPOP command.
asynchclient.go:518
Method
Brpoplpush
Redis BRPOPLPUSH command.
redis.go:228
Method
Brpoplpush
Redis BRPOPLPUSH command.
synchclient.go:548
Method
Brpoplpush
Redis BRPOPLPUSH command.
asynchclient.go:546
Method
Cause
()
error.go:81
Method
Dbsize
Redis DBSIZE command.
redis.go:180
Method
Dbsize
Redis DBSIZE command.
redis.go:401
Method
Dbsize
Redis DBSIZE command.
synchclient.go:347
Method
Dbsize
Redis DBSIZE command.
asynchclient.go:329
Method
Decr
Redis DECR command.
redis.go:386
Method
Decr
Redis DECR command.
synchclient.go:282
Method
Decr
Redis DECR command.
asynchclient.go:264
Method
Decrby
Redis DECRBY command.
redis.go:168
← previous
next →
101–200 of 562, ranked by callers