Comment on Show HN: Multiplayer NES Server in 77 Lines of GoComments−eynix_11yI don't get the difference between github.com/gorilla/websocket & github.com/olahol/melody. Does someone have a clue ?−olaOP11yIt's a higher level framework built on top of github.com/gorilla/websocket . Some features include* Clear and easy interface similar to net/http or Gin with event handlers.* A simple way to broadcast to all or selected connected sessions.* Message buffers making concurrent writing safe.* Automatic handling of ping/pong and session timeouts.
Comments
I don't get the difference between github.com/gorilla/websocket & github.com/olahol/melody. Does someone have a clue ?
It's a higher level framework built on top of github.com/gorilla/websocket . Some features include
* Clear and easy interface similar to net/http or Gin with event handlers.
* A simple way to broadcast to all or selected connected sessions.
* Message buffers making concurrent writing safe.
* Automatic handling of ping/pong and session timeouts.