-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: zipper support middleware (#660)
# Description Adding `WithConnMiddleware()` and `WithFrameMiddleware()` zipper option, their type is below: ```go type ( // FrameHandler handles a frame. FrameHandler func(*Context) // FrameMiddleware is a middleware for frame handler. FrameMiddleware func(FrameHandler) FrameHandler ) type ( // ConnHandler handles a connection and route. ConnHandler func(*Connection, router.Route) // ConnMiddleware is a middleware for connection handler. ConnMiddleware func(ConnHandler) ConnHandler ) ``` --------- Co-authored-by: venjiang <venjiang@gmail.com> Co-authored-by: C.C <fanweixiao@gmail.com>
- Loading branch information
1 parent
92b21e7
commit 1754f26
Showing
10 changed files
with
249 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
1754f26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
yomo – ./
yomo-yomorun.vercel.app
yomo.vercel.app
www.yomo.run
yomo.run
yomo-git-master-yomorun.vercel.app