mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-16 10:37:25 +02:00
add WebSocketHandler to WebSocket struct
This commit is contained in:
parent
bc38e036da
commit
9310bb5572
2 changed files with 2 additions and 1 deletions
|
@ -142,6 +142,7 @@ func (ws *WebSocketHandler) Upgrade(w http.ResponseWriter, r *http.Request) erro
|
|||
|
||||
socket := &WebSocket{
|
||||
id: id,
|
||||
ws: ws,
|
||||
connection: connection,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue