Versions in this module Expand all Collapse all v1 v1.6.0 Nov 2, 2023 v1.1.1 Nov 6, 2023 v1.1.0 Nov 6, 2023 Changes in this version + func NewHeaderOnceResponseWriter(w http.ResponseWriter) http.ResponseWriter + type HeaderOnceResponseWriter struct + func (w *HeaderOnceResponseWriter) Flush() + func (w *HeaderOnceResponseWriter) Header() http.Header + func (w *HeaderOnceResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) + func (w *HeaderOnceResponseWriter) Write(bytes []byte) (int, error) + func (w *HeaderOnceResponseWriter) WriteHeader(code int) + type WithCodeResponseWriter struct + Code int + Writer http.ResponseWriter + func NewWithCodeResponseWriter(writer http.ResponseWriter) *WithCodeResponseWriter + func (w *WithCodeResponseWriter) Flush() + func (w *WithCodeResponseWriter) Header() http.Header + func (w *WithCodeResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) + func (w *WithCodeResponseWriter) Write(bytes []byte) (int, error) + func (w *WithCodeResponseWriter) WriteHeader(code int)