mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 08:47:49 +00:00
Add missing comment for stream function
This commit is contained in:
parent
ebd27b46af
commit
059f13fc9d
3
poll.go
3
poll.go
@ -188,6 +188,9 @@ func (h *Headscale) PollNetMapHandler(c *gin.Context) {
|
|||||||
Msg("Finished stream, closing PollNetMap session")
|
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(
|
func (h *Headscale) PollNetMapStream(
|
||||||
c *gin.Context,
|
c *gin.Context,
|
||||||
m Machine,
|
m Machine,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user