go-socket.io
gosf-socketio
go-socket.io | gosf-socketio | |
---|---|---|
3 | 2 | |
5,570 | 15 | |
- | - | |
4.5 | 0.0 | |
about 2 months ago | over 1 year ago | |
Go | Go | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-socket.io
-
Want to Know https://github.com/googollee/go-socket.io socket server version
I want to connect go socket server with flutter.I want to know which flutter client socket version https://github.com/googollee/go-socket.io support and socket server version.
-
How to use Redis pub/sub to handle socket.io sessions across multiple instances ?
Socket.io helps in delivering messages to client in real time. Behind the scene socket.io creates a bi-directional channel between server and client therefore enabling bidirectional communication between web client and server. For demo code I have used a golang server therefor i have used a golang library called go-socket.io . Some advance socket.io concepts which you should be aware are channel, event, namespace and rooms.
-
Go with socket.io
Have you tried this - https://github.com/googollee/go-socket.io
gosf-socketio
-
Converting http.Request to gin.Context struct
For socket.io handling i use package gosf-socketio, when recieving a call from client i get channel struct and only available thing to use is .Request() which returns http.Request type.
-
Go with socket.io
github.com(/ambelovsky/gosf-socketio) here: https://github.com/njones/api-mocked/blob/master/handler.socketio.go . I realize it's a bit convoluted ... let me know if you have questions.
What are some alternatives?
websocket - A fast, well-tested and widely used WebSocket implementation for Go.
Socket.io - Realtime application framework (Node.JS server)
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
api-mocked - A Mock API server written in `go`
Fiber - ⚡️ Express inspired web framework written in Go
infra - Infra provides authentication and access management to servers and Kubernetes clusters.
melody - :notes: Minimalist websocket framework for Go
Beego - beego is an open-source, high-performance web framework for the Go programming language.
Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
Echo - High performance, minimalist Go web framework
GoSwagger - Swagger 2.0 implementation for go
Buffalo - Rapid Web Development w/ Go