v0.6.0
gorilla/mux and WebSocket.
- gorilla/mux:
r.HandleFunc("/path", h).Methods("GET")is detected, with the method from the chained.Methods(...)(ANY otherwise) — gorilla doesn't use ther.GET(...)shape the generic router extractor covers. - WebSocket: a route handler that performs a WebSocket upgrade (gorilla/websocket
Upgrade, coder/nhooyrAccept) is labeled WS instead of GET. Per-message routing after the upgrade is dynamic and stays out of scope. - New
examples/gorilla-ws(real gorilla/mux + gorilla/websocket).
go get github.com/eularixs/archview@v0.6.0