MCPcopy Create free account
hub / github.com/subtrace/subtrace / NewServer

Function NewServer

devtools/devtools.go:96–98  ·  view source on GitHub ↗
(hijackPath string)

Source from the content-addressed store, hash-verified

94var _ http.Handler = new(Server)
95
96func NewServer(hijackPath string) *Server {
97 return &Server{HijackPath: hijackPath}
98}
99
100func (s *Server) add(conn *websocket.Conn) {
101 s.mu.Lock()

Callers 2

entrypointMethod · 0.92
entrypointParentMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected