1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol/mapper
Kristoffer Dalby 4b65cf48d0 Split up MapResponse
This commits extends the mapper with functions for creating "delta"
MapResponses for different purposes (peer changed, peer removed, derp).

This wires up the new state management with a new StateUpdate struct
letting the poll worker know what kind of update to send to the
connected nodes.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-09-19 10:20:21 -05:00
..
mapper_test.go Split up MapResponse 2023-09-19 10:20:21 -05:00
mapper.go Split up MapResponse 2023-09-19 10:20:21 -05:00
suite_test.go introduce mapper package 2023-06-08 16:34:15 +02:00
tail_test.go remove "stripEmailDomain" argument 2023-06-21 10:31:48 +02:00
tail.go rename acl "get" funcs to "expand" for consistency 2023-06-21 10:31:48 +02:00