Skip to content

Commit

Permalink
Add missing comment for stream function
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed Aug 23, 2021
1 parent ebd27b4 commit 059f13f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions poll.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ func (h *Headscale) PollNetMapHandler(c *gin.Context) {
Msg("Finished stream, closing PollNetMap session")
}

// PollNetMapStream takes care of /machine/:id/map
// stream logic, ensuring we communicate updates and data
// to the connected clients.
func (h *Headscale) PollNetMapStream(
c *gin.Context,
m Machine,
Expand Down

0 comments on commit 059f13f

Please sign in to comment.