Skip to content

Commit

Permalink
updated comments because var was renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed May 11, 2022
1 parent 83b9b7f commit 48a0cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ type Session struct {

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

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

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

Expand Down

0 comments on commit 48a0cfd

Please sign in to comment.