Subdomains Subdomains Returns a string slice of subdomains in the domain name of the request. The application property subdomain offset, which defaults to 2 , is used for dete...
Type Type Sets the Content-Type HTTP header to the MIME type listed here specified by the file extension . func ( c * Ctx ) Type ( ext string , charset ... string ) ...
FormFile FormFile MultipartForm files can be retrieved by name, the first file from the given key is returned. func ( c * Ctx ) FormFile ( key string ) (* multipart ....
Append Append Appends the specified value to the HTTP response header field. If the header is not already set, it creates the header with the specified value. c . Append ...
FormFile FormFile MultipartForm files can be retrieved by name, the first file from the given key is returned. c . FormFile ( name string ) (* multipart . FileHeader , e...
Append Append Appends the specified value to the HTTP response header field. If the header is not already set, it creates the header with the specified value. c . Append ...
Type Type Sets the Content-Type HTTP header to the MIME type listed here specified by the file extension . func ( c * Ctx ) Type ( ext string , charset ... string ) ...
MultipartForm MultipartForm To access multipart form entries, you can parse the binary with MultipartForm() . This returns a map[string][]string , so given a key, the value wil...
Is Is Returns the matching content type , if the incoming request’s Content-Type HTTP header field matches the MIME type specified by the type parameter. If the request has...
FormValue FormValue Any form values can be retrieved by name, the first value from the given key is returned. c . FormValue ( name string ) string app . Post ( "/" ,...