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:
@@ -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")
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user