package
2.3.1
Repository: https://github.com/beego/beego.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

InitGzip initializes the gzipcompress.
NewContext return the Context with Input and Output.
NewInput returns the BeegoInput generated by context.
NewOutput returns new BeegoOutput.
ParseEncoding will extract the right encoding for response the Accept-Encoding's sec is here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3.
ParseForm will parse form values to struct via tag.
WriteBody reads writes content to writer by the specific encoding(gzip/deflate).
WriteFile reads from file and writes to writer by the specific encoding(gzip/deflate).

# Constants

Commonly used mime-types.
Commonly used mime-types.
Commonly used mime-types.
Commonly used mime-types.
Commonly used mime-types.
BadRequest indicates HTTP error 400.
NotFound indicates HTTP error 404.
Commonly used mime-types.

# Structs

BeegoInput operates the http request header, data, cookie and body.
BeegoOutput does work for sending response header.
Context Http request context struct including BeegoInput, BeegoOutput, http.Request and http.ResponseWriter.
Response is a wrapper for the http.ResponseWriter Started: if true, response was already written to so the other handler will not be executed.

# Interfaces

Renderer defines a http response renderer.

# Type aliases

StatusCode sets the HTTP response status code.