Registry / networking / igm-sockjs-go

igm-sockjs-go

JSON →
library3.0.3+incompatiblegogounverified

Go implementation of the SockJS WebSocket emulation protocol for real-time communication.

go get github.com/igm/sockjs-go
INSTALL
IMPORT
SIG · IGM-SOCKJS-GO
I
igm-sockjs-go
networkinggov3.0.3+incompatible
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.

sockjs
github.com/igm/sockjs-go

Sets up a SockJS echo server.

package main import ( "fmt" "net/http" "github.com/igm/sockjs-go" ) func main() { handler := sockjs.NewHandler("/echo", sockjs.DefaultOptions, func(session sockjs.Session) { for { msg, err := session.ReadMessage() if err != nil { break } session.Send(msg) } }) http.Handle("/echo", handler) fmt.Println("Server started at :8080") http.ListenAndServe(":8080", nil) }
Debug
Known issues
gotchaVersion 3.0.3+incompatible indicates Go module versioning issues; use with caution.
fix
Consider using a newer fork or alternative library.
affects: >=3.0.0
Upgrade
Version history
3.0.3+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
igm-sockjs-go — go get igm-sockjs-go · libregistry