Package config

This commit is contained in:
Adrian Gallagher
2017-03-16 14:36:42 +11:00
parent b6c9d64f75
commit 3edf81f48b
24 changed files with 163 additions and 220 deletions

View File

@@ -9,6 +9,7 @@ import (
"time"
"github.com/thrasher-/gocryptotrader/common"
"github.com/thrasher-/gocryptotrader/config"
)
const (
@@ -72,7 +73,7 @@ func (i *ItBit) IsEnabled() bool {
return i.Enabled
}
func (i *ItBit) Setup(exch Exchanges) {
func (i *ItBit) Setup(exch config.ExchangeConfig) {
if !exch.Enabled {
i.SetEnabled(false)
} else {