antoniodipinto / ikisocket

🧬 WebSocket wrapper with event management for Fiber https://github.com/gofiber/fiber. Based on Fiber WebSocket and inspired by Socket.io
MIT License
123 stars 21 forks source link

[Request] Chat Room Example or Wrapper Feature for chat room #8

Closed ryanakbarf closed 3 years ago

ryanakbarf commented 3 years ago

Hi, last week I contact you through twitter..

Could you please give us example on how to make chat rooms so we can implement multiple chat room in our websocket. Thanks a lot!

antoniodipinto commented 3 years ago

Hi, I will check if I will integrate it directly into the wrapper or I will edit the README file to contains also the groups inside

ryanakbarf commented 3 years ago

thanks... will wait..

antoniodipinto commented 3 years ago

Hi, after some digging I think that the best way to accomplish this is adding the group chat example in the readme, not changing the wrapper itself. The library/wrapper work is just to simplify more complex functions down the code. The idea of groups/chat rooms is related more the business logic. So I will add some examples in the code but not changing the wrapper

antoniodipinto commented 3 years ago

Hi @ryanakbarf a chat room example it's here. Please feel free to add comments or improvements