Преглед изворни кода

Merge remote-tracking branch 'origin/master'

master
kidjung пре 4 година
родитељ
комит
78a96f438b
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4
    0
      src/broker/modules/init.go

+ 4
- 0
src/broker/modules/init.go Прегледај датотеку

205
 	//모스카토 구조체 변수 초기화
205
 	//모스카토 구조체 변수 초기화
206
 	receiver := Receiver{moscato: moscato}
206
 	receiver := Receiver{moscato: moscato}
207
 	err := moscato.queue.queue_init()
207
 	err := moscato.queue.queue_init()
208
+	moscato.SendQueue = make(chan myType)
209
+	moscato.Subscriptionmanager.Initialize()
210
+
208
 	if err != nil {
211
 	if err != nil {
209
 		fmt.Println(err)
212
 		fmt.Println(err)
210
 		return
213
 		return
211
 	}
214
 	}
212
 
215
 
216
+
213
 	//go routine -> matching 동작
217
 	//go routine -> matching 동작
214
 	go moscato.Matching()
218
 	go moscato.Matching()
215
 	go moscato.CheckQueue()
219
 	go moscato.CheckQueue()

Loading…
Откажи
Сачувај