port upstream

This commit is contained in:
6543 2022-08-28 15:09:54 +02:00
parent e35d5f7cc7
commit 9af9eceb41
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE
3 changed files with 26 additions and 20 deletions

View file

@ -23,3 +23,7 @@ func (c *Context) Response() *http.Response {
}
return nil
}
func (c *Context) Redirect(uri string, statusCode int) {
http.Redirect(c.RespWriter, c.Req, uri, statusCode)
}