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