Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HijackReadWriter ¶
type HijackReadWriter struct { sync.Mutex Header http.Header Response http.ResponseWriter Hijacked bool // contains filtered or unexported fields }
HijackReadWriter is an io.Writer and io.ReadCloser implementation that will defer hijacking a connection until a read or write is attempted.
func (*HijackReadWriter) Close ¶
func (rw *HijackReadWriter) Close()
Click to show internal directories.
Click to hide internal directories.