Registry / messaging / graarh-golang-socketio

graarh-golang-socketio

JSON →
library0.0.0-20170510162725-2c44953b9b5fgogounverified

A Go implementation of the Socket.IO client and server protocol.

go get github.com/graarh/golang-socketio
INSTALL
IMPORT
SIG · GRAARH-GOLANG-SOCK
G
graarh-golang-socketio
messaginggov0.0.0-20170510162725-2c44953b9b5f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gosocketio
github.com/graarh/golang-socketio

Connects to a Socket.IO server and listens for messages.

package main import ( "github.com/graarh/golang-socketio" "github.com/graarh/golang-socketio/transport" ) func main() { c, err := gosocketio.Dial( gosocketio.GetUrl("localhost", 8080, false), transport.GetDefaultWebsocketTransport(), ) if err != nil { panic(err) } c.On("message", func(h *gosocketio.Channel, args interface{}) { println("received:", args) }) c.Close() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170510162725-2c44953b9b5flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
graarh-golang-socketio — go get graarh-golang-socketio · libregistry