Skip to content

Commit

Permalink
Update hooks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn committed Nov 19, 2022
1 parent ac695e2 commit eb5ebbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guide/hooks.md
Expand Up @@ -8,6 +8,7 @@ With Fiber v2.30.0, you can execute custom user functions when to run some metho
- [OnListen](#onlisten)
- [OnFork](#onfork)
- [OnShutdown](#onshutdown)
- [OnMount](#onmount)

## Constants
```go
Expand Down Expand Up @@ -193,4 +194,4 @@ func main() {

{% hint style="warning" %}
OnName/OnRoute/OnGroup/OnGroupName hooks are mount-sensitive. If you use one of these routes on sub app and you mount it; paths of routes and groups will start with mount prefix.
{% endhint %}
{% endhint %}

0 comments on commit eb5ebbd

Please sign in to comment.