|
|
|
@ -108,7 +108,7 @@ func (r *GosmContainer) WsCommunicator(method string, ctx context.Context, conn
|
|
|
|
|
err, receiveval := WsjsonSend(ctx, conn, *r)
|
|
|
|
|
*r = receiveval.(GosmContainer)
|
|
|
|
|
return err, websocket.MessageText
|
|
|
|
|
case method == "receive" && len(dosth) == 1:
|
|
|
|
|
case method == "receive": // && len(dosth) == 1:
|
|
|
|
|
fmt.Print("ICH BIN HIER UND HIER GEHT WAS SCHIEF 1")
|
|
|
|
|
err, receiveval := WsjsonReceive(ctx, conn, dosth[0])
|
|
|
|
|
fmt.Print("ICH BIN HIER UND HIER GEHT WAS SCHIEF 2")
|
|
|
|
|