Skip to content

ls4096/sailnavsim-websocket-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SailNavSim WebSocket Connector

This program exposes a WebSocket interface to provide some data, such as live boat information, made available by a corresponding instance of sailnavsim-core (as seen here: https://8bitbyte.ca/sailnavsim/).

Dependencies

Tested build/run environments

  • GNU/Linux (various distros), x86-64

How to build

go get

go build

Run tests

go test

How to run

./sailnavsim-snsw <listen_host>:<listen_port> <connect_host>:<connect_port>

The above command will run the WebSocket Connector program, exposing its WebSocket interface on <listen_host> port <listen_port>, and connecting to the running sailnavsim-core simulator program at <connect_host> port <connect_port>. While running, the WebSocket endpoint will be available at http://<listen_host>:<listen_port>/v1/ws.

About

A program to make available some data provided by sailnavsim-core over a WebSocket

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages