-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update:remove old conf method,add default ping to avoid to be closed
- Loading branch information
nizonglong
committed
Aug 11, 2022
1 parent
614ffeb
commit 067027e
Showing
9 changed files
with
91 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,4 +72,6 @@ const ( | |
|
||
ServiceTypeSpot = 1 | ||
ServiceTypeFutures = 2 | ||
|
||
DefaultPingInterval = "10s" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
module github.com/gateio/gatews/go | ||
|
||
go 1.15 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/deckarep/golang-set v1.7.1 | ||
github.com/gansidui/skiplist v0.0.0-20141121051332-c6a909ce563b | ||
github.com/gorilla/websocket v1.4.2 | ||
github.com/shopspring/decimal v1.2.0 | ||
github.com/yireyun/go-queue v0.0.0-20210520035143-72b190eafcba | ||
//github.com/shopspring/decimal v1.2.0 // for test | ||
//github.com/gansidui/skiplist v0.0.0-20141121051332-c6a909ce563b // for test | ||
//github.com/yireyun/go-queue v0.0.0-20210520035143-72b190eafcba // for test | ||
) | ||
|
||
// just for test and examples | ||
//require ( | ||
// github.com/gansidui/skiplist v0.0.0-20141121051332-c6a909ce563b // indirect | ||
// github.com/shopspring/decimal v1.3.1 // indirect | ||
// github.com/yireyun/go-queue v0.0.0-20220725040158-a4dd64810e1e // indirect | ||
//) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
github.com/deckarep/golang-set v1.7.1 h1:SCQV0S6gTtp6itiFrTqI+pfmJ4LN85S1YzhDf9rTHJQ= | ||
github.com/deckarep/golang-set v1.7.1/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= | ||
github.com/gansidui/skiplist v0.0.0-20141121051332-c6a909ce563b h1:MAoeneEI/UCOxABHa7aU2+8dqM89Uaj6tSMFxr1wbe0= | ||
github.com/gansidui/skiplist v0.0.0-20141121051332-c6a909ce563b/go.mod h1:8VKNiVGGPIhJE0qomrfsTKscI5iypji4r9wt4gEUDWE= | ||
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= | ||
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= | ||
github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= | ||
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= | ||
github.com/yireyun/go-queue v0.0.0-20210520035143-72b190eafcba h1:z2jLif5Ec1ZMr/Aq2qav4L53ZFCCfsO6I2RSjWo9ltI= | ||
github.com/yireyun/go-queue v0.0.0-20210520035143-72b190eafcba/go.mod h1:NS8O3p7NiPwC1Yw9xTd9DnDBguxFJG/BL1VPTSfJ5Gw= |