resp

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReadError = errors.NewError("Error Reading from Client")

hard coded error to be detected upstream

Functions

This section is empty.

Types

type Command

type Command struct {
	Command []byte
	Key     []byte
	Args    [][]byte
}

type Server

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

func NewServer

func NewServer(d driver.Driver, p protocol.Protocol) *Server

func (*Server) Listen

func (r *Server) Listen(addr string) error

type Transport

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

func NewTransport

func NewTransport(conn io.ReadWriter) *Transport

func (*Transport) ReadMessage

func (r *Transport) ReadMessage() (transport.Message, error)

func (*Transport) WriteMessage

func (r *Transport) WriteMessage(msg transport.Message) error

Jump to

Keyboard shortcuts

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