Vary Vary Adds the given header field to the Vary response header. This will append the header, if not already listed, otherwise leaves it listed in the current location. Mu...
Vary Vary Adds the given header field to the Vary response header. This will append the header, if not already listed, otherwise leaves it listed in the current location. Mu...
Format Format Performs content-negotiation on the Accept HTTP header. It uses Accepts to select a proper format. If the header is not specified or there is no proper form...
Vary Vary Adds the given header field to the Vary response header. This will append the header, if not already listed, otherwise leaves it listed in the current location. Mu...
Vary Vary Adds the given header field to the Vary response header. This will append the header, if not already listed, otherwise leaves it listed in the current location. Mu...
Format Format Performs content-negotiation on the Accept HTTP header. It uses Accepts to select a proper format. If the header is not specified or there is no proper form...
Group Group You can group routes by creating a *Group struct. Signature app . Group ( prefix string , handlers ... func (* Ctx )) * Group Example func main () ...
SaveFile SaveFile Method is used to save any multipart file to disk. func ( c * Ctx ) SaveFile ( fh * multipart . FileHeader , path string ) error app . Post (...
Params Params Method can be used to get the route parameters, you could pass an optional default value that will be returned if the param key does not exist. Defaults to empt...