mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-31 07:26:44 +00:00
Split up common.go, file path fixes and much more
This commit is contained in:
@@ -3,6 +3,7 @@ package engine
|
||||
import (
|
||||
"errors"
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
"github.com/thrasher-/gocryptotrader/common"
|
||||
@@ -122,7 +123,7 @@ func (c *WebsocketClient) read() {
|
||||
break
|
||||
}
|
||||
|
||||
req := common.StringToLower(evt.Event)
|
||||
req := strings.ToLower(evt.Event)
|
||||
log.Debugf("websocket: request received: %s", req)
|
||||
|
||||
result, ok := wsHandlers[req]
|
||||
|
||||
Reference in New Issue
Block a user