Skip to content

mshelll/crypto-mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRYPTO-MONITOR

Dependencies

Go > 1.12
Gorilla Websockets

Build

 go build currency.go

RUN

./currency

OR

 go run currency.go

TEST

curl -X GET "http://localhost:8080/currency/all"
curl -X GET "http://localhost:8080/currency/ETHBTC"
curl -X GET "http://localhost:8080/currency/BTCUSD"

CONFIGURE

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

Resolve Dependecies

From the currency dir run

go mod init currency

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages