Documentation ¶
Overview ¶
Request package provides the request structure The package provides access to Headers, Cookies Query Params, Post Body and Upload Files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Header map[string]string Method string URL string Params map[string]string // a map to be filled by router Query map[string][]string Body map[string][]string Cookies *cookie.Cookie JSON *json.Decoder // contains filtered or unexported fields }
Request Structure
func (*Request) GetFile ¶
In case of file upload request, this function returns a file struct to read
Click to show internal directories.
Click to hide internal directories.