shadiaosocketio
shadiaosocketio copied to clipboard
A simple Go SocketIO and support for protocol 3 and protocol 4!
golang socket.io
GoLang implementation of socket.io library, client and server.
Examples directory contains simple clients and servers.
Get It
go get -u github.com/Baiguoshuai1/shadiaosocketio
Debug
DEBUG=1 go run client.go
Simple Clients Usage
client.html or client.go
Simple Servers Usage
server.js or server.go
Compatibility
Client | ||||||||||
JavaScript(browser) | JavaScript(Node.js) | Golang(client) | ||||||||
v3.x | v4.x | v3.x | v4.x | - | ||||||
Golang(server) | ✅ | ✅ | ✅ | ✅ | ✅ | |||||
Node.js(server) | v3.x | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
v4.x | ✅ | ✅ | ✅ | ✅ | ✅ | |||||