Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdElement ¶ added in v0.2.0
type CmdElement struct {
// contains filtered or unexported fields
}
CmdElement ...
func NewCmdElement ¶ added in v0.2.0
func NewCmdElement(rcv interface{}, cmd string, args ...string) CmdElement
NewCmdElement creates CmdElement as like original Do() interface
type WrappedPool ¶
type WrappedPool struct { *radix.Pool // contains filtered or unexported fields }
WrappedPool ...
func NewPool ¶
func NewPool(network, addr string, size int, opts ...radix.PoolOpt) (*WrappedPool, error)
NewPool wraps radix.NewPool
func (*WrappedPool) Do ¶
func (p *WrappedPool) Do(txn *newrelic.Transaction, rcv interface{}, cmd string, args ...string) error
Do wraps radix.Pool.Do()
func (*WrappedPool) DoPipeline ¶ added in v0.2.0
func (p *WrappedPool) DoPipeline(txn *newrelic.Transaction, cmds []CmdElement) error
DoPipeline wraps radix.Pool.Do() with Pipeline
Click to show internal directories.
Click to hide internal directories.