resp

package
Version: 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: 6 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 struct {
	// contains filtered or unexported fields
}

Client wraps a connection to the server and the protocol used

func NewClient

func NewClient(proto protocol.Protocol, conn redigo.Conn) *Client

NewClientConn creates a client from an existing redis connection

func (*Client) Do

func (c *Client) Do(query interface{}) (interface{}, error)

Do sends a query to the server and receives its response Returns an error if we could not send the message

type Dialer

type Dialer struct {
	Proto protocol.Protocol
	// contains filtered or unexported fields
}

Dialer creates client objects from a

func NewDialer

func NewDialer(proto protocol.Protocol, addr string) Dialer

func (Dialer) Dial

func (d Dialer) Dial() (client.Client, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL