-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transfer socketio middleware to contrib #956
Conversation
Sure |
@antoniodipinto
|
@ReneWerner87 should be ok now, please check whenever you're able. Thanks! |
Co-authored-by: RW <rene@gofiber.io>
Co-authored-by: RW <rene@gofiber.io>
correct indentation
Thanks for your support @ReneWerner87 |
Could we consider a different name for this middleware?
|
Hey guys, the only error that I can see it's related to the linter Error: ikisocket.go:202:20: func `(*safePool).reset` is unused (unused)
func (p *safePool) reset() {
^
Error: ikisocket.go:43[6](https://github.com/gofiber/contrib/actions/runs/7844957650/job/21408365949?pr=956#step:5:7):23: func `(*Websocket).queueLength` is unused (unused)
func (kws *Websocket) queueLength() int { These functions are necessary for the tests not for the normal usage of the library |
then disable the error with nolint and leave a comment type there for use
@antoniodipinto what do you think? |
Hi @ReneWerner87 you can change the same as you want, I'm not attached to the ikisocket name. The only concern that I have is that |
@gofiber/maintainers any good ideas for a name? |
Socket.IO is also a protocol. So we could use: This middleware covers almost the full protocol. |
These are the suggested names by ChatGPT after reviewing the code:
|
|
socket.io seems good to me |
|
@antoniodipinto We you get a chance, can you update the code with the new name. Should be good to merge after that :-) |
@gaby name changed |
@antoniodipinto thx now you can start with
|
@antoniodipinto Have you already moved the examples? |
I'll move it later this week |
Hey @ReneWerner87 can you please review this PR so ikisocket will move under contrib repo?
After the pull request will be accepted I will move also the examples to recipes
Thank you!