Package exchanges

This commit is contained in:
Adrian Gallagher
2017-03-21 01:50:07 +11:00
parent bbe660b5f4
commit aeb327c80c
68 changed files with 3808 additions and 3621 deletions

View File

@@ -4,9 +4,10 @@ import (
"net/http"
"github.com/gorilla/mux"
"github.com/thrasher-/gocryptotrader/exchanges"
)
func NewRouter(exchanges []IBotExchange) *mux.Router {
func NewRouter(exchanges []exchange.IBotExchange) *mux.Router {
router := mux.NewRouter().StrictSlash(true)
allRoutes := append(routes, ExchangeRoutes...)
allRoutes = append(allRoutes, ConfigRoutes...)