# Packages
No description provided by the author
# Functions
InitGzip init the gzipcompress.
NewContext return the Context with Input and Output.
NewInput return 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.
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.
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.ResponseWriterstarted set to true if response was written to then don't execute other handler.
# Interfaces
Renderer defines an http response renderer.
# Type aliases
StatusCode sets the http response status code.