1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00

Add missing comment for stream function

This commit is contained in:
Kristoffer Dalby 2021-08-23 07:38:14 +01:00
parent ebd27b46af
commit 059f13fc9d
No known key found for this signature in database
GPG Key ID: 09F62DC067465735

View File

@ -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,