devtools

package
v0.0.0-...-9ce2ab3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetInitJS

func SetInitJS(b []byte)

Types

type Server

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

func NewServer

func NewServer(hijackPath string) *Server

func (*Server) HandleHijack

func (s *Server) HandleHijack(req *http.Request, conn net.Conn, brw *bufio.ReadWriter)

func (*Server) Send

func (s *Server) Send(b []byte)

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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