resp

package
v0.0.0-...-6438891 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RespMiddleware

func RespMiddleware() func(c *server.TcpSliceRouterContext)

parse Resp and use db exec the request if this node is not responsible for the request, then Forward the request(store the useful node in the context)

func SetupEngine

func SetupEngine(opt options.KuloyOptions, isCluster bool)

SetupEngine creates a RespHandler instance

Types

type RespHandler

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

RespHandler implements tcp.Handler and serves as a redis handler

func (*RespHandler) Close

func (h *RespHandler) Close() error

Close stops handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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