Browse Source

fmt.Print("ICH BIN HIER UND HIER GEHT WAS SCHIEF 10")

test
Klaus Wendel 2 years ago
parent
commit
ff5e7ac55d
  1. 1
      nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

1
nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

@ -122,6 +122,7 @@ func (r *GosmContainer) WsCommunicator(method string, ctx context.Context, conn
//WsCommunicator sends and receivs data to/from websocket partner
func (r *GosmBuffer) WsCommunicator(method string, ctx context.Context, conn *websocket.Conn, dosth ...func(interface{}) interface{}) (error, websocket.MessageType) {
fmt.Print("ICH BIN HIER UND HIER GEHT WAS SCHIEF 10")
switch {
case (method == "sendtext" || method == "send") && len(dosth) == 0:
err, receiveval := WsSend(ctx, conn, *r, websocket.MessageText)

Loading…
Cancel
Save