mirror of
https://github.com/kataras/iris.git
synced 2026-03-08 01:16:30 +00:00
Catch os.Interrupt signal with iris.PostInterrupt example added in comments.
https://github.com/iris-contrib/examples/tree/master/os_interrupt
This commit is contained in:
@@ -25,6 +25,8 @@ iris.Plugins.PostInterrupt(func(s *Framework){
|
||||
|
||||
```
|
||||
|
||||
- Example: https://github.com/iris-contrib/examples/tree/master/os_interrupt
|
||||
|
||||
## 6.0.7 -> 6.0.8
|
||||
|
||||
- Add `iris.UseTemplateFunc(functionName string, function interface{})`. You could always set custom template funcs by using each of [template engine's](https://github.com/kataras/go-template) configuration but this function will help newcomers to start creating their custom template funcs.
|
||||
|
||||
Reference in New Issue
Block a user