|
|
@ -108,7 +108,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]) |
|
|
|
*r = receiveval.(GosmContainer) |
|
|
|
//*r = receiveval.(GosmContainer)
|
|
|
|
return err, websocket.MessageText |
|
|
|
default: |
|
|
|
panic("Wrong communicator method or invalid number of dosth-functions") |
|
|
|