fix formatting issue from merging with github web interface

This commit is contained in:
Tyler 2023-09-02 12:51:42 -07:00
parent d72acd2a37
commit c81497670e

View file

@ -289,7 +289,6 @@ type websocketCodec struct {
pongReceived chan struct{} pongReceived chan struct{}
} }
func newWebsocketCodec(conn *websocket.Conn, host string, req http.Header, messageSizeLimit int64) ServerCodec { func newWebsocketCodec(conn *websocket.Conn, host string, req http.Header, messageSizeLimit int64) ServerCodec {
conn.SetReadLimit(messageSizeLimit) conn.SetReadLimit(messageSizeLimit)
encode := func(v interface{}, isErrorResponse bool) error { encode := func(v interface{}, isErrorResponse bool) error {