1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-10-14 11:17:33 +02:00
juanfont.headscale/cmd/headscale
Kristoffer Dalby 73023c2ec3 all: use immutable node view in read path
This commit changes most of our (*)types.Node to
types.NodeView, which is a readonly version of the
underlying node ensuring that there is no mutations
happening in the read path.

Based on the migration, there didnt seem to be any, but the
idea here is to prevent it in the future and simplify other
new implementations.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-07-07 21:28:59 +01:00
..
cli all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
headscale_test.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
headscale.go use newer fork of termcolor (#1842) 2024-04-16 23:48:51 +02:00