MCPcopy Create free account
hub / github.com/gorilla/websocket / reuseTestResponseWriter

Struct reuseTestResponseWriter

server_test.go:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75type reuseTestResponseWriter struct {
76 brw *bufio.ReadWriter
77 http.ResponseWriter
78}
79
80func (resp *reuseTestResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) {
81 return fakeNetConn{strings.NewReader(""), &bytes.Buffer{}}, resp.brw, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected