mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-02 12:04:31 -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.