mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
split of the mvc and the new hero package is completed, now handlers with input and output binding feature is a different feature than the mvc, however the mvc controller's methods can use the hero dependency injection as before (v10+)
Former-commit-id: d67f5a5ed9033286bcc4c04f6be612823cba2a57
This commit is contained in:
4
doc.go
4
doc.go
@@ -1663,9 +1663,9 @@ useful to call middlewares or when many methods use the same collection of data.
|
||||
|
||||
Optional `EndRequest(ctx)` function to perform any finalization after any method executed.
|
||||
|
||||
Session dependency via `mvc.Session(mySessions)` to the MVC Application, i.e
|
||||
Session dynamic dependency via manager's `Start` to the MVC Application, i.e
|
||||
|
||||
mvcApp.AddDependencies(mvc.Session(sessions.New(sessions.Config{Cookie: "iris_session_id"})))
|
||||
mvcApp.AddDependencies(sessions.New(sessions.Config{Cookie: "iris_session_id"}).Start)
|
||||
|
||||
Inheritance, recursively.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user