client

package
v0.0.0-...-d65df50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2016 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Do(query interface{}) (interface{}, error)
}

type Dialer

type Dialer interface {
	Dial() (Client, error)
}

type Pipeline

type Pipeline interface {
	Send(query interface{}) error
	Abort() error
	Execute() ([]interface{}, error)
}

Pipeline is a TBD interface for allowing MULTI transactions

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

func NewPool

func NewPool(dialer Dialer) *Pool

func (*Pool) Get

func (p *Pool) Get() (Client, error)

func (*Pool) Return

func (p *Pool) Return(c Client)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL