Klaus Wendel 2 years ago
parent
commit
09dfa3d7f4
  1. 2
      nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

2
nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

@ -3,6 +3,7 @@ package nhooyrioWebsocketAddons
import (
"context"
"encoding/json"
"fmt"
"nhooyr.io/websocket"
"nhooyr.io/websocket/wsjson"
@ -108,6 +109,7 @@ func (r *GosmContainer) WsCommunicator(method string, ctx context.Context, conn
return err, websocket.MessageText
case method == "receive" && len(dosth) == 1:
err, receiveval := WsjsonReceive(ctx, conn, dosth[0])
fmt.Print("ICH BIN HIER UND HIER GEHT WAS SCHIEF")
//*r = receiveval.(GosmContainer)
return err, websocket.MessageText
default:

Loading…
Cancel
Save