Adds exchange name to account info retrieval

Adds walletRoutes.go
Adds method to get all exchange account stuff  in go
Adds method to get all exchange account stuff in server.js
This commit is contained in:
Scott
2016-09-12 20:06:01 +10:00
parent 055e82c01f
commit f37bf8d89f
23 changed files with 86 additions and 16 deletions

View File

@@ -24,6 +24,14 @@ app.get('/data/all-enabled-currencies', function (req, res) {
})
});
app.get('/data/all-enabled-exchange-account-info', function (req, res) {
request({
url :'http://localhost:9050/exchanges/enabled/accounts/all'
},function(err, resp, body){
res.send(body);
})
});
app.get('/config/all', function (req, res) {
request({
url :'http://localhost:9050/config/all'