Documentation ¶
Index ¶
- Variables
- func NewSession(rwc io.ReadWriteCloser, handler Handler)
- type Handler
- type HandlerFunc
- type Request
- type Response
- func (r *Response) ClientError(msg string) error
- func (r *Response) ServerError(msg string) error
- func (r *Response) Status(status string) error
- func (r *Response) UnknownCommandError() error
- func (r *Response) Value(key string, body []byte) error
- func (r *Response) ValueFull(key string, body []byte, flags uint32, cas uint64) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewSession ¶
func NewSession(rwc io.ReadWriteCloser, handler Handler)
Types ¶
type HandlerFunc ¶
func (HandlerFunc) ServeMemcache ¶
func (h HandlerFunc) ServeMemcache(req *Request, res *Response) error
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) ClientError ¶
func (*Response) ServerError ¶
func (*Response) UnknownCommandError ¶
Click to show internal directories.
Click to hide internal directories.