response

package
v0.0.0-...-82862be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response interface {
	Unwrap() http.ResponseWriter
	Header() http.Header
	SetHeader(name, value string)
	ContentType() string
	WriteStatus(status int)
	WriteHeader(status int)
	WriteStatusNow()
	Write(b []byte) (n int, err error)
	WriteString(s string) (n int, err error)
	Flush()
	Hijack() (net.Conn, *bufio.ReadWriter, error)
	Status() int
	Size() int64
	Reset(w http.ResponseWriter)
	Buffer() []byte
	BufferString() string
	ClearBuffer()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL