mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
Ability to register a view engine per group of routes or for the current a chain of handlers
Example at: https://github.com/kataras/iris/tree/master/_examples/view/context-view-engine
This commit is contained in:
2
iris.go
2
iris.go
@@ -280,7 +280,7 @@ func (app *Application) View(writer io.Writer, filename string, layout string, b
|
||||
}
|
||||
|
||||
// ConfigureHost accepts one or more `host#Configuration`, these configurators functions
|
||||
// can access the host created by `app.Run`,
|
||||
// can access the host created by `app.Run` or `app.Listen`,
|
||||
// they're being executed when application is ready to being served to the public.
|
||||
//
|
||||
// It's an alternative way to interact with a host that is automatically created by
|
||||
|
||||
Reference in New Issue
Block a user