1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00
Former-commit-id: d8d73b3e1b713af9bf7b4712121324079ede6a41
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-11-28 23:20:08 +02:00
parent 1843a7d1f1
commit 8b85b602df
4 changed files with 20 additions and 21 deletions

View File

@@ -31,6 +31,8 @@ func main() {
// same as navigating to "http://localhost:8080/invisible/iris" when /change has being invoked and route state changed
// from "offline" to "online"
ctx.Values().Set("from", "/execute") // values and session can be shared when calling Exec from a "foreign" context.
// ctx.Exec("NONE", "/invisible/iris")
// or after "/change":
ctx.Exec("GET", "/invisible/iris")
})