Skip to content

Commit 48a0cfd

Browse files
committed
updated comments because var was renamed
1 parent 83b9b7f commit 48a0cfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/session.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ type Session struct {
162162

163163
// Subscription is a mapper of sessions to topics.
164164
type Subscription struct {
165-
// Channel to communicate with the topic, copy of Topic.broadcast
165+
// Channel to communicate with the topic, copy of Topic.clientMsg
166166
broadcast chan<- *ClientComMessage
167167

168168
// Session sends a signal to Topic when this session is unsubscribed
@@ -172,7 +172,7 @@ type Subscription struct {
172172
// Channel to send {meta} requests, copy of Topic.meta
173173
meta chan<- *ClientComMessage
174174

175-
// Channel to ping topic with session's updates
175+
// Channel to ping topic with session's updates, copy of Topic.supd
176176
supd chan<- *sessionUpdate
177177
}
178178

0 commit comments

Comments
 (0)