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
↓ 68 callers
Method
ServiceRequest
(cmd *Command, args [][]byte)
connection.go:164
↓ 67 callers
Method
QueueRequest
(cmd *Command, args [][]byte)
connection.go:175
↓ 19 callers
Method
Error
()
error.go:108
↓ 16 callers
Function
appendAndConvert
REVU - use this instead of concatAndGetBytes TODO - for asynch
synchclient.go:644
↓ 16 callers
Function
newSystemErrorWithCause
(msg string, cause error)
error.go:62
↓ 15 callers
Method
Get
Redis GET command.
redis.go:120
↓ 15 callers
Method
GetMultiBulkData
()
protocol.go:177
↓ 15 callers
Method
Set
Redis SET command.
redis.go:126
↓ 14 callers
Method
Quit
Redis QUIT command.
redis.go:117
↓ 13 callers
Method
GetBooleanValue
()
protocol.go:173
↓ 13 callers
Method
GetNumberValue
()
protocol.go:174
↓ 13 callers
Function
NewClient
(t *testing.T)
test/support.go:80
↓ 12 callers
Method
GetBulkData
()
protocol.go:176
↓ 12 callers
Function
flushAndQuitOnCompletion
(t *testing.T, client redis.Client)
test/sync_test.go:10
↓ 11 callers
Method
Flushdb
Redis FLUSHDB command.
redis.go:300
↓ 11 callers
Method
set
onError (Error);
future.go:173
↓ 10 callers
Method
Password
Sets the password for connection spec and returns the reference Note that you should not this after you have already connected.
connection.go:139
↓ 10 callers
Function
newSystemErrorf
(format string, args ...interface{})
error.go:58
↓ 10 callers
Function
send
creates a result struct using the provided references and sends it on the specified channel.
future.go:40
↓ 9 callers
Function
assertCtlByte
panics on error (with redis.Error)
protocol.go:262
↓ 9 callers
Function
report
(cmd string, delta time.Duration, cnt int)
bench/synchclient.go:90
↓ 7 callers
Method
Db
Sets the db for connection spec and returns the reference Note that you should not this after you have already connected.
connection.go:118
↓ 7 callers
Function
getTestConnSpec
Test ConnectionSpec uses redis db 13 and assumes AUTH password go-redis
test/support.go:89
↓ 7 callers
Function
newSystemError
(msg string)
error.go:55
↓ 5 callers
Method
Lpush
Redis LPUSH command.
redis.go:192
↓ 5 callers
Method
Ping
Redis PING command.
redis.go:147
↓ 5 callers
Method
TryGet
(timeoutnano time.Duration)
future.go:175
↓ 5 callers
Function
_test_compareByteArrays
(got, expected []byte)
test/0data_test.go:115
↓ 5 callers
Function
assertNotError
panics on error (with redis.Error)
protocol.go:269
↓ 5 callers
Function
receive
blocks on the channel until a result is received. If the received result reference's e (error) field is not null, it will return it.
future.go:48
↓ 5 callers
Function
tryReceive
using a timer blocks on the channel until a result is received. or timeout period expires. if timedout, returns timedout==true. otherwise, If the rece
future.go:68
↓ 4 callers
Method
Lpop
Redis LPOP command.
redis.go:213
↓ 4 callers
Method
String
()
connection.go:471
↓ 4 callers
Method
Type
Redis TYPE command.
redis.go:123
↓ 4 callers
Method
connect
connect event handler will issue AUTH/SELECT on new connection if required. panics on error (with error)
connection.go:283
↓ 4 callers
Function
newFutureBool
()
future.go:179
↓ 4 callers
Function
newFutureBytes
()
future.go:119
↓ 4 callers
Function
readToCRLF
---------------------------------------------------------------------------- protocol i/o ------------------------------------------------------------
protocol.go:402
↓ 4 callers
Method
spec
()
connection.go:475
↓ 4 callers
Method
worker
This could find a happy home in a generalized worker package ... TODO
connection.go:715
↓ 3 callers
Function
Btof64
(buff []byte)
synchclient.go:801
↓ 3 callers
Function
CreateRequestBytes
---------------------------------------------------------------------------- Services ----------------------------------------------------------------
protocol.go:60
↓ 3 callers
Function
DefaultSpec
Creates a ConnectionSpec using default settings. using the DefaultXXX consts of redis package.
connection.go:97
↓ 3 callers
Method
Get
()
redisfutures.go:22
↓ 3 callers
Method
Get
()
future.go:230
↓ 3 callers
Function
GetKeyType
Returns KeyType by name
specification.go:47
↓ 3 callers
Method
Incr
Redis INCR command.
redis.go:159
↓ 3 callers
Method
String
()
protocol.go:311
↓ 3 callers
Method
TryGet
(timeoutnano time.Duration)
redisfutures.go:23
↓ 3 callers
Function
compareByteArrays
(got, expected []byte)
test/support.go:9
↓ 3 callers
Function
debug
TEMP: should default to false
redis.go:642
↓ 3 callers
Function
isSystemError
(e interface{})
error.go:135
↓ 3 callers
Function
parseInfo
(buff []byte)
synchclient.go:191
↓ 3 callers
Function
readBulkData
Reads a multibulk response of given expected elements. panics on errors (with redis.Error)
protocol.go:423
↓ 3 callers
Function
testspec_ft
create the test spec (test data for now)
future_test.go:21
↓ 2 callers
Method
Decr
Redis DECR command.
redis.go:165
↓ 2 callers
Method
Exists
Redis EXISTS command.
redis.go:138
↓ 2 callers
Method
Get
()
future.go:142
↓ 2 callers
Method
Get
()
future.go:174
↓ 2 callers
Method
GetMessage
()
protocol.go:172
↓ 2 callers
Function
GetResponse
---------------------------------------------------------------------------- response processing -----------------------------------------------------
protocol.go:209
↓ 2 callers
Method
GetStringValue
()
protocol.go:175
↓ 2 callers
Method
IsError
()
protocol.go:171
↓ 2 callers
Method
Keys
Redis KEYS command.
redis.go:135
↓ 2 callers
Method
Mget
Redis MGET command.
redis.go:156
↓ 2 callers
Method
Mget
Redis MGET command.
redis.go:377
↓ 2 callers
Method
Protocol
return the address as string.
connection.go:151
↓ 2 callers
Method
Publish
Redis PUBLISH command. Publishes a message to the named channels. This is a blocking call. Returns the number of PubSub subscribers that received th
redis.go:319
↓ 2 callers
Method
Rpop
Redis RPOP command.
redis.go:219
↓ 2 callers
Method
Rpush
Redis RPUSH command.
redis.go:189
↓ 2 callers
Method
Sadd
Redis SADD command.
redis.go:231
↓ 2 callers
Method
ServiceRequest
Implementation of SyncConnection.ServiceRequest.
connection.go:335
↓ 2 callers
Method
Set
Redis SET command.
redis.go:347
↓ 2 callers
Function
SetFutureResult
Sets the type specific result value from the response for the future reference based on the command type.
protocol.go:115
↓ 2 callers
Method
Setnx
Redis SETNX command.
redis.go:150
↓ 2 callers
Method
String
Returns minimal info string for logging, etc
connection.go:218
↓ 2 callers
Method
Subscriptions
return the subscribed channel ids, whether specificly named, or pattern based.
redis.go:591
↓ 2 callers
Function
analyzeAndReport
Get the defined methods for the specified client type and report compliance
compliance/compliance.go:71
↓ 2 callers
Function
anyClientNilResultValueSpec
spec.NoNilResultValue Specs MethodSpec.NoNilResultValue - client type invariant
specification.go:259
↓ 2 callers
Function
anyClientRedisErrSpec
spec.NoRedisErr Specs MethodSpec.NoRedisErr - client type invariant
specification.go:246
↓ 2 callers
Function
convAndSplit
(buff []byte)
synchclient.go:136
↓ 2 callers
Function
newAsyncConnHdl
Creates a new asyncConnHdl with a new connHdl as its delegated 'super'. Note it does not start the processing goroutines for the channels. REVU - Pub
connection.go:483
↓ 2 callers
Function
newConnHdl
Creates and opens a new connection to server per ConnectionSpec. The new connection is wrapped by a new connHdl with its bufio.Reader delegating to th
connection.go:227
↓ 2 callers
Function
newPubSubAck
(Type PubSubMType, topic string, scnt int)
protocol.go:328
↓ 2 callers
Function
newRedisError
(msg string)
error.go:98
↓ 2 callers
Method
onError
(Error)
future.go:106
↓ 2 callers
Function
onRecover
---------------------------------------------------------------------- error handling helper functions -----------------------------------------------
error.go:116
↓ 2 callers
Method
processAsyncRequest
---------------------------------------------------------------------------- asyncConnHdl internal ops -----------------------------------------------
connection.go:1017
↓ 2 callers
Function
quickConfAll
(method string)
test/support.go:46
↓ 2 callers
Function
readMultiBulkData
Reads a multibulk response of given expected elements. The initial *num\r\n is assumed to have been consumed. panics on errors (with redis.Error)
protocol.go:443
↓ 2 callers
Function
sendRequest
---------------------------------------------------------------------------- request processing ------------------------------------------------------
protocol.go:146
↓ 2 callers
Method
startup
responsible for managing the various moving parts of the asyncConnHdl
connection.go:681
↓ 1 callers
Method
AllKeys
Redis KEYS command using "*" wildcard
redis.go:132
↓ 1 callers
Method
Cause
()
error.go:46
↓ 1 callers
Function
CreateFuture
Creates a specific Future type for the given Redis command and returns it as a generic reference.
protocol.go:92
↓ 1 callers
Function
FlushAsyncClient
(t *testing.T, client redis.AsyncClient)
test/support.go:108
↓ 1 callers
Function
FlushClient
(t *testing.T, client redis.Client)
test/support.go:122
↓ 1 callers
Function
GetPubSubResponse
---------------------------------------------------------------------------- PubSub message processing -----------------------------------------------
protocol.go:349
↓ 1 callers
Method
Getset
Redis GETSET command.
redis.go:153
↓ 1 callers
Method
Host
Sets the host for connection spec and returns the reference Note that you should not this after you have already connected.
connection.go:125
next →
1–100 of 562, ranked by callers