go.mod
This commit is contained in:
parent
791a249e00
commit
6565760b7d
@ -15,7 +15,7 @@ import (
|
|||||||
|
|
||||||
simple "github.com/bitly/go-simplejson"
|
simple "github.com/bitly/go-simplejson"
|
||||||
"github.com/go-redis/redis"
|
"github.com/go-redis/redis"
|
||||||
"phyer.click/tunas/utils"
|
"github.com/phyer/texus/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Candle struct {
|
type Candle struct {
|
||||||
|
@ -19,8 +19,8 @@ import (
|
|||||||
|
|
||||||
simple "github.com/bitly/go-simplejson"
|
simple "github.com/bitly/go-simplejson"
|
||||||
"github.com/go-redis/redis"
|
"github.com/go-redis/redis"
|
||||||
"phyer.click/tunas/private"
|
"github.com/phyer/texus/private"
|
||||||
"phyer.click/tunas/utils"
|
"github.com/phyer/texus/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Core struct {
|
type Core struct {
|
||||||
|
8
main.go
8
main.go
@ -13,9 +13,9 @@ import (
|
|||||||
|
|
||||||
simple "github.com/bitly/go-simplejson"
|
simple "github.com/bitly/go-simplejson"
|
||||||
// "github.com/go-redis/redis"
|
// "github.com/go-redis/redis"
|
||||||
"phyer.click/tunas/core"
|
"github.com/phyer/texus/core"
|
||||||
// "phyer.click/tunas/private"
|
// "github.com/phyer/texus/private"
|
||||||
"phyer.click/tunas/utils"
|
"github.com/phyer/texus/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -77,7 +77,7 @@ func RestTicker(cr *core.Core, dura time.Duration) {
|
|||||||
wg := core.WriteLog{
|
wg := core.WriteLog{
|
||||||
Content: ab,
|
Content: ab,
|
||||||
Tag: "sardine.log.ticker." + tir.InstId,
|
Tag: "sardine.log.ticker." + tir.InstId,
|
||||||
Id: ti.Id,
|
Id: did,
|
||||||
}
|
}
|
||||||
cr.WriteLogChan <- &wg
|
cr.WriteLogChan <- &wg
|
||||||
redisCli.Publish(core.TICKERINFO_PUBLISH+suffix, string(ab)).Result()
|
redisCli.Publish(core.TICKERINFO_PUBLISH+suffix, string(ab)).Result()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"phyer.click/tunas/utils"
|
"github.com/phyer/texus/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GlobalCoin struct {
|
type GlobalCoin struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package private
|
package private
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"phyer.click/tunas/utils"
|
"github.com/phyer/texus/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OrderResp struct {
|
type OrderResp struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user