mirror of
https://github.com/juanfont/headscale.git
synced 2025-03-26 11:10:53 +00:00

Added a new function `RegisterMethodToV1Enum()` to Node, converting the internal register method string to the corresponding V1 Enum value. Included corresponding unit test in `node_test.go` to ensure correct conversion for various register methods.