Socket.io: Socket.io for golang

Created on 8 May 2018  ·  6Comments  ·  Source: socketio/socket.io

Note: for support questions, please use one of these channels: stackoverflow or slack

You want to:

  • [ ] report a bug
  • [x] request a feature

Current behaviour

https://github.com/googollee/go-socket.io/issues/188

Steps to reproduce (if the current behaviour is a bug)

Note: the best way to get a quick answer is to provide a failing test case, by forking the following fiddle for example.

Expected behaviour

Setup

  • OS:
  • browser:
  • socket.io version:

Other information (e.g. stacktraces, related issues, suggestions how to fix)

Most helpful comment

I also need golang client for socket.io nodejs server.
But unfortunately, googollee/go-socket.io is not working for socketio 2.0 and newer.

All 6 comments

Anyone ?

I also need golang client for socket.io nodejs server.
But unfortunately, googollee/go-socket.io is not working for socketio 2.0 and newer.

crickets

Need Golang client too, and also need Rust client.
But I can't write code using Rust. I don't know should I use socket.io because I'm not able to develop client for Golang let alone Rust. Someone can give me some advices?

Yeah, I definitely would love to see Socket.IO supporting golang as well. :)

@mofadeyunduo If you're asking whether to use Socket.IO or Websockets alone, I've written an answer on StackOverflow out of my own experience with both of them.
https://stackoverflow.com/a/62848079/1712332

If you have the option to make a microservice in NodeJS, or use a Socket.IO library in another language, it's definitely worth it.
Websockets are very expensive to make them work on a big complex app and I had a first hand experience on trying to make them work.
I mean, if all you want to do is to send back and forth a simple message without having such thing as rooms, or events, then you're good. Use Websockets, it's as simple as doing it on socket.io if not more. But if you want something more complicated, like subscriptions and isolated event rooms, using Websockets means you also have to implement all of those things from scratch and its a pain in the ass.

Need Golang client too

Was this page helpful?
0 / 5 - 0 ratings