netbird/client/internal/routemanager
Yury Gargay d1a323fa9d
Add gocritic linter (#1324)
* Add gocritic linter

`gocritic` provides diagnostics that check for bugs, performance, and style issues

We disable the following checks:

- commentFormatting
- captLocal
- deprecatedComment

This PR contains many `//nolint:gocritic` to disable `appendAssign`.
2023-11-27 16:40:02 +01:00
..
client_test.go Prevent peer updates on flapping status and fix route score logic (#920) 2023-06-01 16:00:44 +02:00
client.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00
common_linux_test.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
firewall_linux.go Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
firewall_nonlinux.go Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
firewall.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
iptables_linux_test.go Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
iptables_linux.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
manager_test.go Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
manager.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00
mock.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
nftables_linux_test.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
nftables_linux.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
notifier.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
router_pair.go Add route management for Android interface (#801) 2023-04-17 11:15:37 +02:00
server_android.go Routemgr error handling (#1073) 2023-08-12 11:42:36 +02:00
server_nonandroid.go Add default firewall rule to allow netbird traffic (#1056) 2023-09-05 21:07:32 +02:00
server.go Routemgr error handling (#1073) 2023-08-12 11:42:36 +02:00
systemops_android.go Add route management for Android interface (#801) 2023-04-17 11:15:37 +02:00
systemops_bsd.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00
systemops_linux.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00
systemops_nonandroid_test.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00
systemops_nonandroid.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00
systemops_nonlinux.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00
systemops_windows.go Remove the gateway check for routes (#1317) 2023-11-24 11:31:22 +01:00