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.
websocketproxy
✓ github.com/koding/websocketproxy
Create a WebSocket reverse proxy and serve it.
package main
import (
"net/http"
"github.com/koding/websocketproxy"
)
func main() {
proxy := websocketproxy.NewProxy("ws://backend:8080")
http.Handle("/ws", proxy)
http.ListenAndServe(":8080", nil)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20181220232114-7ed82d81a28clatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.