server

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler implements tcp.Handler and serves as a redis server

func MakeHandler

func MakeHandler() *Handler

MakeHandler creates a Handler instance

func (*Handler) Close

func (h *Handler) Close() error

Close stops handler

func (*Handler) Handle

func (h *Handler) Handle(ctx context.Context, conn net.Conn)

Handle receives and executes redis commands

Jump to

Keyboard shortcuts

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