Params Params Method can be used to get the route parameters. Defaults to empty string ("" ), if the param doesn’t exist. c . Params ( param string ) string // GE...
Range Range A struct containing the type and a slice of ranges will be returned. c . Range ( int size ) // Range: bytes=500-700, 700-900 app . Get ( "/" , func ( c ...
OriginalURL OriginalURL Returns the original request URL. func ( c * Ctx ) OriginalURL () string // GET http://example.com/search?q=something app . Get ( "/" ,...
Path Path Contains the path part of the request URL. Optionally, you could override the path by passing a string. func ( c * Ctx ) Path ( override ... string ) string...