Skip to content

Commit

Permalink
pkg ws: default callback func
Browse files Browse the repository at this point in the history
  • Loading branch information
rkonfj committed Dec 26, 2023
1 parent 1b0fa99 commit 0b567c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport/ws/ws.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,6 @@ func Connect(params spec.ConnectParameters, netDial spec.Dial) (spec.StreamConn,
func NewStreamConn(conn *websocket.Conn, nonce byte) spec.StreamConn {
return &GorillaWsConn{
conn: conn, nonce: nonce,
onClose: func() {}, onReadWrite: func() {},
}
}

0 comments on commit 0b567c9

Please sign in to comment.