Skip to content

Comment on Show HN: Multiplayer NES Server in 77 Lines of Go

Comments

I don't get the difference between github.com/gorilla/websocket & github.com/olahol/melody. Does someone have a clue ?

olaOP

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.