consulmemcached

package
v0.0.0-...-d1639a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2017 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsulPoller

func ConsulPoller(list *memcache.ServerList, consulOptions api.QueryOptions)

func New

func New(mclient *memcache.Client) handlers.HandlerConst

Types

type Handler

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

func (*Handler) Add

func (h *Handler) Add(cmd common.SetRequest) error

func (*Handler) Append

func (h *Handler) Append(cmd common.SetRequest) error

func (*Handler) Close

func (h *Handler) Close() error

func (*Handler) Delete

func (h *Handler) Delete(cmd common.DeleteRequest) error

func (*Handler) GAT

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)

func (*Handler) Prepend

func (h *Handler) Prepend(cmd common.SetRequest) error

func (*Handler) Replace

func (h *Handler) Replace(cmd common.SetRequest) error

func (*Handler) Set

func (h *Handler) Set(cmd common.SetRequest) error

func (*Handler) Touch

func (h *Handler) Touch(cmd common.TouchRequest) error

Jump to

Keyboard shortcuts

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