handler

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFlagValue

func SetFlagValue(c *gin.Context)

func SetIncr

func SetIncr(c *gin.Context)

func SetItem

func SetItem(c *gin.Context)

func SetKVValue

func SetKVValue(c *gin.Context)

func SetTtl

func SetTtl(c *gin.Context)

Types

type Handler

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

func NewHandler

func NewHandler(backend backend.Service, log *logrus.Entry) *Handler

func (*Handler) CacheGet

func (h *Handler) CacheGet(c *gin.Context)

func (*Handler) CachePut

func (h *Handler) CachePut(c *gin.Context)

func (*Handler) CounterGet

func (h *Handler) CounterGet(c *gin.Context)

func (*Handler) CounterPut

func (h *Handler) CounterPut(c *gin.Context)

func (*Handler) FlagGet

func (h *Handler) FlagGet(c *gin.Context)

func (*Handler) FlagSet

func (h *Handler) FlagSet(c *gin.Context)

func (*Handler) KvDelete

func (h *Handler) KvDelete(c *gin.Context)

func (*Handler) KvGet

func (h *Handler) KvGet(c *gin.Context)

func (*Handler) KvPut

func (h *Handler) KvPut(c *gin.Context)

func (*Handler) Ping

func (h *Handler) Ping(c *gin.Context)

func (*Handler) SetDelete

func (h *Handler) SetDelete(c *gin.Context)

func (*Handler) SetGet

func (h *Handler) SetGet(c *gin.Context)

func (*Handler) SetPut

func (h *Handler) SetPut(c *gin.Context)

Jump to

Keyboard shortcuts

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