Documentation ¶
Index ¶
- func New() (handlers.Handler, error)
- 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 ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
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.