A simple Radio written in Go using Nats.io Publish/Subscribe. Supports many concurrent clients.
Clone this repository inside your ``$GOPATH. If you haven't set your
$GOPATH`
add your chosen directory to your .bashrc file. This directory will contain all
your Go code.
export GOPATH=~/go
Use your distro's package manager to install all system dependencies. To install
all Go dependencies you can execute the install.sh
script.
First run gnatsd:
$GOPATH/bin/gnatsd -DV
Then run the radio server (you may want to open a new terminal for this)
go run Server/server.go
Once server is running you can start the clients with:
go run Client/client.go
If the server is running in a different machine, you can pass the server's IP as an argument
go run Client/client.go 192.168.11.46
- Andres Caceres
- Gabriel Aumala
- Edgar Villaceca