Documentation
¶
Index ¶
- func Errorf(w http.ResponseWriter, statusCode int, msg string, args ...interface{})
- type HttpWriteInterceptor
- func (c *HttpWriteInterceptor) CloseNotify() <-chan bool
- func (c *HttpWriteInterceptor) Flush()
- func (c *HttpWriteInterceptor) Header() http.Header
- func (c *HttpWriteInterceptor) Hijack() (net.Conn, *bufio.ReadWriter, error)
- func (c *HttpWriteInterceptor) Status() int
- func (c *HttpWriteInterceptor) Write(data []byte) (int, error)
- func (c *HttpWriteInterceptor) WriteHeader(code int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpWriteInterceptor ¶ added in v0.19.0
type HttpWriteInterceptor struct { http.ResponseWriter // contains filtered or unexported fields }
func NewHttpWriteInterceptor ¶ added in v0.19.0
func NewHttpWriteInterceptor(w http.ResponseWriter) *HttpWriteInterceptor
func (*HttpWriteInterceptor) CloseNotify ¶ added in v0.19.0
func (c *HttpWriteInterceptor) CloseNotify() <-chan bool
func (*HttpWriteInterceptor) Flush ¶ added in v0.19.0
func (c *HttpWriteInterceptor) Flush()
func (*HttpWriteInterceptor) Header ¶ added in v0.19.0
func (c *HttpWriteInterceptor) Header() http.Header
func (*HttpWriteInterceptor) Hijack ¶ added in v0.19.0
func (c *HttpWriteInterceptor) Hijack() (net.Conn, *bufio.ReadWriter, error)
func (*HttpWriteInterceptor) Status ¶ added in v0.19.0
func (c *HttpWriteInterceptor) Status() int
func (*HttpWriteInterceptor) Write ¶ added in v0.19.0
func (c *HttpWriteInterceptor) Write(data []byte) (int, error)
func (*HttpWriteInterceptor) WriteHeader ¶ added in v0.19.0
func (c *HttpWriteInterceptor) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.