fnaeemgomsgwebsockets

command module
v0.0.0-...-5ec7e1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

From the directory fnaeemgomsgwebsockets

  • Run the server go build main.go
  • Run the client go build client.go
  • The server can then be invoked via curl/postman to post a publish message which the server will handle

Client waits for input of the topic on the command line and tries to register that topic with the server.

The server is however closing the connection immediately after the client registers and hence publishes are not getting through.

At this point it will require deep knowledge of websockets and debugging as to why the server is closing the connection.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL