core.go
This commit is contained in:
parent
2876344c19
commit
24b80a92c3
25
core.go
25
core.go
@ -24,14 +24,29 @@ import (
|
|||||||
type Core struct {
|
type Core struct {
|
||||||
Env string
|
Env string
|
||||||
Cfg *MyConfig
|
Cfg *MyConfig
|
||||||
|
RedisLocalCli *redis.Client
|
||||||
|
RedisLocal2Cli *redis.Client
|
||||||
RedisRemoteCli *redis.Client
|
RedisRemoteCli *redis.Client
|
||||||
RedisCli *redis.Client
|
|
||||||
FluentBitUrl string
|
FluentBitUrl string
|
||||||
Wg sync.WaitGroup
|
// PlateMap map[string]*Plate
|
||||||
RestQueueChan chan *RestQueue
|
// TrayMap map[string]*Tray
|
||||||
OrderChan chan *private.Order
|
CoasterMd5SyncMap sync.Map
|
||||||
WriteLogChan chan *WriteLog
|
Mu *sync.Mutex
|
||||||
|
Mu1 *sync.Mutex
|
||||||
|
Waity *sync.WaitGroup
|
||||||
|
CandlesProcessChan chan *Candle
|
||||||
|
MaXProcessChan chan *MaX
|
||||||
|
TickerInforocessChan chan *TickerInfo
|
||||||
|
// CoasterChan chan *CoasterInfo
|
||||||
|
// SeriesChan chan *SeriesInfo
|
||||||
|
// SegmentItemChan chan *SegmentItem
|
||||||
|
MakeMaXsChan chan *Candle
|
||||||
|
// ShearForceGrpChan chan *ShearForceGrp
|
||||||
|
InvokeRestQueueChan chan *RestQueue
|
||||||
|
RestQueue
|
||||||
|
WriteLogChan chan *WriteLog
|
||||||
}
|
}
|
||||||
|
|
||||||
type RestQueue struct {
|
type RestQueue struct {
|
||||||
InstId string
|
InstId string
|
||||||
Bar string
|
Bar string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user