diegoquintanav / go-joystick

a d-pad controller in go to send commands using websockets
1 stars 0 forks source link

server address needs to be ws://0.0.0.0:9080 #6

Closed quimnuss closed 2 days ago

quimnuss commented 2 days ago

The documentation does not put the protocol in the cli albeit it is needed for the joystick to work

quimnuss commented 2 days ago

this puts the ws correctly and works (even if it has the /echo endpoint)

go run cmd/joystick-client/client.go  -serverAddr ws://localhost:9080 -clientAddr 0.0.0.0:8081 -clientName ""

Probably only needs to put the ws:// in the docs and thats it. Everything else works nicely