Go > 1.12
Gorilla Websockets
go build currency.go
./currency
OR
go run currency.go
curl -X GET "http://localhost:8080/currency/all"
curl -X GET "http://localhost:8080/currency/ETHBTC"
curl -X GET "http://localhost:8080/currency/BTCUSD"
The file currency.config in the same dir can be used to configure which all symbols can be allowed.By default ETHBSD and BTCUSD is monitored
From the currency dir run
go mod init currency