Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alphazero/Go-Redis
/ types & classes
Types & classes
70 in github.com/alphazero/Go-Redis
⨍
Functions
562
◇
Types & classes
70
Interface
AsyncClient
The asynchronous client interface provides asynchronous call semantics with future results supporting both blocking and try-and-timeout result accesso
redis.go:335
Interface
AsyncConnection
---------------------------------------------------------------------------- AsyncConnection API -----------------------------------------------------
connection.go:174
Interface
Client
The synchronous call semantics Client interface. Method names map one to one to the Redis command set. All methods may return an redis.Error, which i
redis.go:114
Struct
Command
Describes a given Redis command
specification.go:112
Struct
ConnectionSpec
Defines the set of parameters that are used by the client connections
connection.go:78
Interface
Error
---------------------------------------------------------------------------- redis.Error -------------------------------------------------------------
error.go:30
Interface
FutureBool
FutureBool
future.go:171
Interface
FutureBytes
FutureBytes (for []byte)
future.go:111
Interface
FutureBytesArray
FutureBytesArray (for [][]byte)
future.go:139
Interface
FutureFloat64
FutureFloat64
future.go:255
Interface
FutureInfo
FutureInfo
redisfutures.go:50
Interface
FutureInt64
FutureInt64
future.go:227
Interface
FutureKeyType
FutureKeyType
redisfutures.go:79
Interface
FutureKeys
FutureKeys
redisfutures.go:21
Interface
FutureResult
Future? interfaces very much in line with the Future<?> of Java. These variants all expose the same set of semantics in a type-safe manner. We're onl
future.go:105
Interface
FutureString
FutureString
future.go:199
TypeAlias
KeyType
import "fmt" ---------------------------------------------------------------------------- PROTOCOL SPEC Various other elements of the package use the
specification.go:33
Struct
Message
Conforms to the payload as received from wire. If Type is MESSAGE, then Body will contain a message, and SubscriptionCnt will be -1. otherwise, it is
protocol.go:304
Struct
MethodSpec
---------------------------------------------------------------------- BlackBox testing contract (WIP) -----------------------------------------------
specification.go:204
Struct
PendingResponse
Handle to a future response
connection.go:179
TypeAlias
Protocol
---------------------------------------------------------------------------- Connection ConnectionSpec -----------------------------------------------
connection.go:59
TypeAlias
PubSubChannel
PubSubChannels are used by clients to forward received PubSub messages from Redis See PubSubClient interface for details.
redis.go:619
Interface
PubSubClient
REVU - ALL THE COMMENS NEEDS REVIEW AND REVISION Most critical is the depth of channel for message publication Demux is problematic on many levels. S
redis.go:581
Interface
PubSubConnection
---------------------------------------------------------------------------- PubSubConnection API ----------------------------------------------------
connection.go:190
TypeAlias
PubSubMType
---------------------------------------------------------------------------- PubSub message ----------------------------------------------------------
protocol.go:279
Interface
RedisError
---------------------------------------------------------------------- Redis Server Errors -----------------------------------------------------------
error.go:90
TypeAlias
RequestType
Request type defines the characteristic pattern of a cmd request
specification.go:78
Interface
Response
---------------------------------------------------------------------------- Response ----------------------------------------------------------------
protocol.go:170
TypeAlias
ResponseType
Response type defines the various flavors of responses from Redis per its specification.
specification.go:98
TypeAlias
Status
Not yet used -- TODO: decide if returning status (say for Set) for non error cases really buys us anything beyond (useless) consistency.
specification.go:68
Struct
Subscription
REVU - why is this exported?
connection.go:196
Interface
SyncConnection
---------------------------------------------------------------------------- SyncConnection API ------------------------------------------------------
connection.go:163
Interface
SystemError
---------------------------------------------------------------------- Go-Redis System Errors or Bugs ------------------------------------------------
error.go:45
TypeAlias
_boolfuture
future.go:177
TypeAlias
_bytearrayslicefuture
future.go:145
TypeAlias
_byteslicefuture
future.go:117
Struct
_futurefloat64
future.go:259
Struct
_futureinfo
redisfutures.go:54
TypeAlias
_futureint64
future.go:233
Struct
_futurekeys
redisfutures.go:25
Struct
_futurekeytype
redisfutures.go:83
TypeAlias
_futurestring
future.go:205
Struct
_response
protocol.go:179
Struct
asyncClient
----------------------------------------------------------------------------- asyncClient ------------------------------------------------------------
asynchclient.go:27
Struct
asyncConnHdl
connection.go:448
TypeAlias
asyncReqPtr
connection.go:438
Struct
asyncRequestInfo
Defines the data corresponding to a requested service call through the QueueRequest method of AsyncConnection not used yet.
connection.go:430
TypeAlias
clientType
compliance/compliance.go:32
Struct
connHdl
---------------------------------------------------------------------------- Generic Conn handle and methods - supports SyncConnection interface -----
connection.go:210
TypeAlias
ctlbytes
protocol.go:48
Struct
error_
compliance/compliance.go:27
TypeAlias
event_code
connection.go:402
TypeAlias
interrupt_code
connection.go:390
Struct
mtest
test/gen/generate.go:113
Struct
outarg
test/gen/generate.go:124
Struct
pubsubClient
----------------------------------------------------------------------------- pubsubClient - supports PubSubClient interface -------------------------
pubsubclient.go:21
Struct
redisError
error.go:94
FuncType
redisTask
---------------------------------------------------------------------------- benchmarker -------------------------------------------------------------
bench/gosynchclient.go:64
FuncType
redisTask
---------------------------------------------------------------------------- types and props ---------------------------------------------------------
bench/asyncbench.go:17
Struct
result
---------------------------------------------------------------------------- synchronization utilities. ----------------------------------------------
future.go:32
TypeAlias
status_code
---------------------------------------------------------------------------- Asynchronous connection handle and friends ------------------------------
connection.go:377
Struct
syncClient
----------------------------------------------------------------------------- syncClient -------------------------------------------------------------
synchclient.go:29
Struct
systemError
supports SystemError interface
error.go:50
Struct
taskSpec
task info
bench/gosynchclient.go:67
Struct
taskSpec
task info
bench/asyncbench.go:20
Struct
taskStatus
connection.go:418
Struct
tspec_ft
REVU: nice to test timing accuracy but it isn't really necessary. basic test data
future_test.go:15
TypeAlias
workerCtl
connection.go:400
Struct
workerStatus
connection.go:412
FuncType
workerTask
func(*asyncConnHdl, workerCtl) (*interrupt_code, *taskStatus)
connection.go:425