headscale/hscontrol/types
Rubens Peculis 00ff288f0c
fix(1996): Implement register method enum converter (#2013)
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.
2024-07-17 13:12:16 +02:00
..
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go batch updates in notifier (#1905) 2024-04-27 10:47:39 +02:00
config.go fix search domains and remove username from magicdns (#1987) 2024-06-26 13:44:40 +02:00
const.go improve testing of route failover logic 2024-04-15 12:31:53 +02:00
node_test.go fix(1996): Implement register method enum converter (#2013) 2024-07-17 13:12:16 +02:00
node.go fix(1996): Implement register method enum converter (#2013) 2024-07-17 13:12:16 +02:00
preauth_key.go Restore foreign keys and add constraints (#1562) 2024-05-15 20:40:14 -04:00
routes_test.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
routes.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
users.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00