mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 18:37:05 +00:00
replace the redis library we used with another one, no performance differences but most options for connections pooling and read/write/connect timeout (two config fields are changed as well)
relative to: https://github.com/kataras/iris/issues/1285 Former-commit-id: c20530cd67144ab8d1c9325807fe5c13268fa428
This commit is contained in:
@@ -22,7 +22,7 @@ func getLayout(layout string, globalLayout string) string {
|
||||
|
||||
// Engine is the interface which all view engines should be implemented in order to be registered inside iris.
|
||||
type Engine interface {
|
||||
// Load should load the templates from a directory of by binary(assets/go-bindata).
|
||||
// Load should load the templates from a physical system directory or by an embedded one (assets/go-bindata).
|
||||
Load() error
|
||||
// ExecuteWriter should execute a template by its filename with an optional layout and bindingData.
|
||||
ExecuteWriter(w io.Writer, filename string, layout string, bindingData interface{}) error
|
||||
|
||||
Reference in New Issue
Block a user