go-socket.io
go-socket.io copied to clipboard
socket.io library for golang, a realtime application framework.
I wan't to use redis broadcast,but the redis set password. can support redis auth?
> server code ``` s.Server.OnEvent("/", "uploadPcm", func(c socketio.Conn, msg interface{}, buffer parser.Buffer) { log.Println("uploadPcm:", msg) log.Println("buffer:", len(buffer.Data)) c.Emit("receivePcm", `{"sequence":`+strconv.Itoa(1)+`}`, buffer.Data) }) ``` js recevie an base64 formater data ? what...
**Is your feature request related to a problem? Please describe.** Current libs version doesn't supported socket.io v2 It is not completed proposal version. I suggest some changes. At the future...
**Describe the bug** sometimes,a client has already dead,but disconnect event was not been called
Hi, I would like to use go-socket.io to create a socket.io client in go. In the examples I can only see go-socket.io servers and clients in javascript. Is it possible...
**Describe the bug** Detected data race from unit tests. [Example](https://github.com/googollee/go-socket.io/runs/4449775158?check_suite_focus=true) **To Reproduce** Run github action's **Expected behavior** A clear and concise description of what you expected to happen. **Environment (please...
I try to emit plain string to client after marshaling json object, but client got a base64 encode string, how to disable it? It bothered me several days.
**Describe the bug** Under concurrent publishes/broadcasts, joins and leave, the redis adapter can hang, preventing all subsequent operations. **To Reproduce** Can't provide a simple example owing to being integrated into...
**Describe the bug** I'm trying to get the count of room members by `server.RoomLen(s.Namespace(), "myRoomId")` based on [Base example with using std net/http](https://github.com/googollee/go-socket.io/tree/master/_examples#base-example-with-using-std-nethttp). It works just fine when i make...
Hello, I have encountered a problem at the moment, I hope I can get help, thank you Through the redis adapter, multiple servers directly pass through this interface and cannot...