respserver

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(addr string, runtime *home.Runtime) *Server

New creates a new.

func (*Server) HandleConn

func (s *Server) HandleConn(ctx context.Context, conn net.Conn)

HandleConn handles handle conn.

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(ctx context.Context) error

ListenAndServe returns an en and serve.

func (*Server) SetClusterHandler

func (s *Server) SetClusterHandler(handler *cluster.RESPHandler)

SetClusterHandler sets a cluster handler.

Directories

Path Synopsis
pop

Jump to

Keyboard shortcuts

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