handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Store   *store.Store
	Cursors map[string]map[int]string
}

func NewHandler

func NewHandler(store *store.Store) *Handler

func NewHandlerEmptyStore

func NewHandlerEmptyStore() *Handler

Creates new handler with an empty Store I'm not sure what to do during initialization

func (*Handler) Delete

func (h *Handler) Delete(conn redcon.Conn, cmd redcon.Command)

func (*Handler) Detach

func (h *Handler) Detach(conn redcon.Conn, cmd redcon.Command)

func (*Handler) Get

func (h *Handler) Get(conn redcon.Conn, cmd redcon.Command)

func (*Handler) HGetAll

func (h *Handler) HGetAll(conn redcon.Conn, cmd redcon.Command)

func (*Handler) HLen

func (h *Handler) HLen(conn redcon.Conn, cmd redcon.Command)

func (*Handler) HScan

func (h *Handler) HScan(conn redcon.Conn, cmd redcon.Command)

func (*Handler) Info

func (h *Handler) Info(conn redcon.Conn, cmd redcon.Command)

func (*Handler) LLen

func (h *Handler) LLen(conn redcon.Conn, cmd redcon.Command)

func (*Handler) LRange

func (h *Handler) LRange(conn redcon.Conn, cmd redcon.Command)

func (*Handler) MemoryUsage

func (h *Handler) MemoryUsage(conn redcon.Conn, cmd redcon.Command)

func (*Handler) Ping

func (h *Handler) Ping(conn redcon.Conn, cmd redcon.Command)

func (*Handler) Quit

func (h *Handler) Quit(conn redcon.Conn, cmd redcon.Command)

func (*Handler) Scan

func (h *Handler) Scan(conn redcon.Conn, cmd redcon.Command)

func (*Handler) Set

func (h *Handler) Set(conn redcon.Conn, cmd redcon.Command)

func (*Handler) SetNewStore

func (h *Handler) SetNewStore(store *store.Store)

func (*Handler) SetUpMux

func (handler *Handler) SetUpMux(mux *redcon.ServeMux)

func (*Handler) Type

func (h *Handler) Type(conn redcon.Conn, cmd redcon.Command)

func (*Handler) ZCard

func (h *Handler) ZCard(conn redcon.Conn, cmd redcon.Command)

Jump to

Keyboard shortcuts

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