Registry / networking / olahol-melody

olahol-melody

JSON →
library1.4.0gogounverified

A minimalistic WebSocket framework for Go, built on top of gorilla/websocket.

go get github.com/olahol/melody
INSTALL
IMPORT
SIG · OLAHOL-MELODY
O
olahol-melody
networkinggov1.4.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.

melody
github.com/olahol/melody

Basic WebSocket server setup.

package main import ( "net/http" "github.com/olahol/melody" ) func main() { m := melody.New() http.HandleFunc("/ws", m.HandleRequest) http.ListenAndServe(":5000", nil) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
olahol-melody — go get olahol-melody · libregistry