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
Click to show internal directories.
Click to hide internal directories.