1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

Implement a GetURI to get the full uri of a (named) route

This commit is contained in:
Makis Maropoulos
2016-06-02 19:22:36 +03:00
parent 79e984146e
commit 05b6723b19
5 changed files with 68 additions and 3 deletions

View File

@@ -100,6 +100,7 @@ type (
// SetHeader sets the response headers first parameter is the key, second is the value
SetHeader(string, string)
Redirect(string, ...int)
RedirectTo(routeName string, args ...interface{})
// Errors
NotFound()
Panic()