Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandResponse ¶
type CommandResponse struct { CommandId int Value interface{} }
CommandResponse ...
type RedisPipeline ¶
type RedisPipeline interface { NewSession(ctx context.Context) RedisPipelineSession Close() }
RedisPipeline interface
func NewRedisPipeline ¶
func NewRedisPipeline(client redis.RedisClient, maxIntervalInMs uint64, maxCommandsPerBatch uint64) RedisPipeline
NewRedisPipeline initiate RedisPipeline interface
type RedisPipelineImpl ¶
type RedisPipelineImpl struct {
// contains filtered or unexported fields
}
RedisPipelineImpl Implementation of RedisPipeline interface
func (*RedisPipelineImpl) Close ¶
func (rb *RedisPipelineImpl) Close()
func (*RedisPipelineImpl) NewSession ¶
func (rb *RedisPipelineImpl) NewSession(ctx context.Context) RedisPipelineSession
NewSession Of RedisPipeline
type RedisPipelineSession ¶
type RedisPipelineSession interface { PushCommand(command string, args ...interface{}) RedisPipelineSession PushCommandReadOnly(command string, args ...interface{}) RedisPipelineSession Execute() ([]*CommandResponse, error) }
RedisPipelineSession ...
type RedisPipelineSessionImpl ¶
type RedisPipelineSessionImpl struct {
// contains filtered or unexported fields
}
RedisPipelineSessionImpl ...
func (*RedisPipelineSessionImpl) Execute ¶
func (ps *RedisPipelineSessionImpl) Execute() ([]*CommandResponse, error)
Execute all commands within session
func (*RedisPipelineSessionImpl) PushCommand ¶
func (ps *RedisPipelineSessionImpl) PushCommand(command string, args ...interface{}) RedisPipelineSession
PushCommand push command to session
func (*RedisPipelineSessionImpl) PushCommandReadOnly ¶
func (ps *RedisPipelineSessionImpl) PushCommandReadOnly(command string, args ...interface{}) RedisPipelineSession
type SessionResponse ¶
type SessionResponse struct { CommandsResponses []*CommandResponse Err error }
SessionResponse ...
Directories ¶
Path | Synopsis |
---|---|
Command ccheck implements the consistency checker redis cluster client as described in http://redis.io/topics/cluster-tutorial.
|
Command ccheck implements the consistency checker redis cluster client as described in http://redis.io/topics/cluster-tutorial. |
example
|
|
Click to show internal directories.
Click to hide internal directories.