Sfoglia il codice sorgente

[fin] submsg

master
jaehoon_kim 4 anni fa
parent
commit
e7deaa9328
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3
    2
      modules/message.go

+ 3
- 2
modules/message.go Vedi File

@@ -64,14 +64,15 @@ type PublishMsg struct {
64 64
 	Message
65 65
 	topic []int64 //대주제
66 66
 	value []int64 //topic의 세부적인 내용
67
-	content      []int64 // 내용
67
+	content []int64 // 내용
68 68
 }
69 69
 
70 70
 //구독 정보를 담은 메세지
71 71
 type SubscriptionMsg struct {
72 72
 	Message
73 73
 	topic []int64 //대주제
74
-	value []string //범위 및 세부조건, 피연산자 연산자 순으로 등장
74
+	value []int64 //피연산자
75
+	operator []string //연산자
75 76
 	isAlpha bool // 범위연산인지 단순비교연산인지 구분 가능하게 함
76 77
 }
77 78
 

Loading…
Annulla
Salva