Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { Set(cmd common.SetRequest) error Add(cmd common.SetRequest) error Replace(cmd common.SetRequest) error Get(cmd common.GetRequest) (<-chan common.GetResponse, <-chan error) GetE(cmd common.GetRequest) (<-chan common.GetEResponse, <-chan error) GAT(cmd common.GATRequest) (common.GetResponse, error) Delete(cmd common.DeleteRequest) error Touch(cmd common.TouchRequest) error Close() error }
func NilHandler ¶
NilHandler is used as a placeholder for when there is no handler needed. Since the Server API is a composition of a few things, including Handlers, there needs to be a placeholder for when it's not needed.
type HandlerConst ¶
Click to show internal directories.
Click to hide internal directories.