Documentation ¶
Index ¶
- type Handler
- func (h Handler) Add(cmd common.SetRequest) error
- func (h Handler) Append(cmd common.SetRequest) error
- func (h Handler) Close() error
- func (h Handler) Delete(cmd common.DeleteRequest) error
- func (h Handler) GAT(cmd common.GATRequest) (common.GetResponse, error)
- func (h Handler) Get(cmd common.GetRequest) (<-chan common.GetResponse, <-chan error)
- func (h Handler) GetE(cmd common.GetRequest) (<-chan common.GetEResponse, <-chan error)
- func (h Handler) Prepend(cmd common.SetRequest) error
- func (h Handler) Replace(cmd common.SetRequest) error
- func (h Handler) Set(cmd common.SetRequest) error
- func (h Handler) Touch(cmd common.TouchRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(conn io.ReadWriteCloser) Handler
func (Handler) Close ¶
Closes the Handler's underlying io.ReadWriteCloser. Any calls to the handler after a Close() are invalid.
func (Handler) GAT ¶
func (h Handler) GAT(cmd common.GATRequest) (common.GetResponse, error)
func (Handler) Get ¶
func (h Handler) Get(cmd common.GetRequest) (<-chan common.GetResponse, <-chan error)
func (Handler) GetE ¶
func (h Handler) GetE(cmd common.GetRequest) (<-chan common.GetEResponse, <-chan error)
Click to show internal directories.
Click to hide internal directories.