mirror of
https://github.com/juanfont/headscale.git
synced 2025-03-13 23:12:54 -04: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.