Commit graph

20 commits

Author SHA1 Message Date
6cb0d80e09
[#11] dialer: Add event handler
All checks were successful
Tests and linters / Tests with -race (pull_request) Successful in 28s
Vulncheck / Vulncheck (pull_request) Successful in 45s
Pre-commit hooks / Pre-commit (pull_request) Successful in 54s
Tests and linters / Tests (pull_request) Successful in 1m3s
Tests and linters / gopls check (pull_request) Successful in 1m1s
DCO action / DCO (pull_request) Successful in 1m17s
Tests and linters / Run gofumpt (pull_request) Successful in 1m20s
Tests and linters / Staticcheck (pull_request) Successful in 1m40s
Tests and linters / Lint (pull_request) Successful in 2m5s
Could be used for metrics and failover scenarios.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-15 10:56:04 +03:00
c4a6d20d37
[#11] .forgejo: Add CI/CD checks
All checks were successful
Tests and linters / Tests with -race (pull_request) Successful in 26s
Pre-commit hooks / Pre-commit (pull_request) Successful in 51s
Vulncheck / Vulncheck (pull_request) Successful in 45s
Tests and linters / Tests (pull_request) Successful in 1m3s
DCO action / DCO (pull_request) Successful in 1m10s
Tests and linters / gopls check (pull_request) Successful in 1m6s
Tests and linters / Run gofumpt (pull_request) Successful in 1m15s
Tests and linters / Staticcheck (pull_request) Successful in 1m26s
Tests and linters / Lint (pull_request) Successful in 2m4s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-09 16:30:12 +03:00
90707a88d1
[#11] dialer: Fix static check warnings
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-09 16:22:47 +03:00
4815ab7952
[#11] makefile: Add static code analyzers
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-09 16:22:46 +03:00
beb1d522ca
[#11] mod: Bump deps versions
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-09 16:22:46 +03:00
15282c8f44
[#11] mod: Bump go version
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-09 16:22:45 +03:00
e11908a038
[#11] git: Add gitattributes and gitignore files
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-09 16:22:45 +03:00
4a46c8c008
[#11] dialer: Use source IPs intead of interfaces
The use of network interfaces does not cover cases where it is necessary
to use network interfaces to access different subnets.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-09 16:22:45 +03:00
f65c788d73
[#10] dialer: Fix formatting
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-08 14:01:11 +03:00
0e75be2ef2
[#10] dialer: Define interface state (up/down) on initialization
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-08 14:01:11 +03:00
a762e63bc8
[#10] dialer: Drop nil error
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-08 12:45:22 +03:00
731f2229c0
[#10] health: Drop unused
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-10-08 12:42:55 +03:00
21841df9f7 [#9] go.mod: Fix Go version
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-11-14 15:38:48 +03:00
76e736f572 [#3] dialer: Add gopatchs patch.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-11-02 13:25:54 +03:00
ee601a7b5f [#3] dialer: Add default dialer.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-11-02 13:25:54 +03:00
5298ec4295 [#4] dialer: Add hostname resolve tests
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-10-26 11:13:42 +03:00
37b0350e95 [#4] dialer: Move tests to integration tests
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-10-26 11:13:42 +03:00
e7a9cd76ff [#4] dialer: Fix typo
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-10-26 11:13:42 +03:00
e0145b3a5f [#4] dialer: Support hostnames
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-10-26 11:13:42 +03:00
b92dae991b Initial commit
Signed-off-by: Evgenii Stratonikov <stratonikov@runbox.com>
2023-08-16 20:10:49 +03:00