go-socket.io
go-socket.io copied to clipboard
socket.io library for golang, a realtime application framework.
1. I changed the publish message in `redisBroadcast` from `redis.PubSubConn` to `redis.Pool` because I found that sometimes “Use of closed network connection” would appear when publishing and never recover. 2....
fatal error: sync: unlock of unlocked mutex goroutine 222 [running]: runtime.throw({0x2796c2e?, 0x4b4b35?}) /usr/local/go/src/runtime/panic.go:992 +0x71 fp=0xc001977948 sp=0xc001977918 pc=0x45c271 sync.throw({0x2796c2e?, 0xffffffff?}) /usr/local/go/src/runtime/panic.go:978 +0x1e fp=0xc001977968 sp=0xc001977948 pc=0x48bf9e sync.(*Mutex).unlockSlow(0xc0011d27e8, 0x5f782c73) /usr/local/go/src/sync/mutex.go:220 +0x49 fp=0xc001977990 sp=0xc001977968...
// Send sends the given event and args to all the connections except the sender in the specified room ``` func (bc *broadcast) Send(room, event string, conn Conn, args ...interface{})...
Apologies for the title, but that's just the only thing that I could think that describes my situation. After having a barebones code to try out the library, I made...
I am porting an implementation of a socketIO server from Kotlin to Go. Been tinkering with this repo for a few days and it's working out quite well. A feature...
I checked the previous issue and found that go-engine.io was used as the client, but an error was reported the error is `unsupported protocol scheme "wss"` The version of socket....
## The problem Lack interoperability of go-socket.io with fasthttp based frameworks. ### TL;DR bridge the gap between go-socket.io and fasthttp ### The story I was working on a project which...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. **Describe the solution you'd like** A clear and concise description...
Hello. I could archive CORS rule in python like this. ``` app = Flask(__name__) origins = ["https://example.com", "https://www.example.com"] cors = CORS(app, resources={r"/*": {"origins": origins}}) app.config['SECRET_KEY'] = 'secret!' socketio = SocketIO(app,...
**Describe the bug** Expect similar behaviour for double methods: OnEvent with Emit and OnEvent with return string **To Reproduce** use simple example from https://github.com/socketio/chat-example ```go server.OnEvent("/", "chat message", func(s socketio.Conn,...