Registry / networking / googollee-go-socket-io

googollee-go-socket-io

JSON →
library1.7.0gogounverified

A Go implementation of Socket.IO for real-time bidirectional communication.

go get github.com/googollee/go-socket.io
INSTALL
IMPORT
SIG · GOOGOLLEE-GO-SOCKE
G
googollee-go-socket-io
networkinggov1.7.0
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.

socketio
github.com/googollee/go-socket.io

Creates a Socket.IO server that emits an event on connection.

package main import ( "log" "net/http" socketio "github.com/googollee/go-socket.io" ) func main() { server, _ := socketio.NewServer(nil) server.OnConnect("/", func(s socketio.Conn) error { s.Emit("event", "hello") return nil }) http.Handle("/socket.io/", server) log.Fatal(http.ListenAndServe(":8000", nil)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
googollee-go-socket-io — go get googollee-go-socket-io · libregistry