Support configurable TLS probes in the API and dashboard

This commit is contained in:
ayurishchev committed 2026-11-20 21:15:22 +03:00
1 parent 0bde5627f0
commit c7fdd2c430
38 files changed
+495 -203

No files matched your search

+5 -2
View File
@@ -8,6 +8,8 @@ import (
"fmt"
"os"
"cloudipvalidator/internal/inbound"
"gopkg.in/yaml.v3"
)
@@ -133,8 +135,9 @@ type CheckTypeConfig struct {
}
type InboundConfig struct {
Ports []int `yaml:"ports"`
ICMP bool `yaml:"icmp"`
Ports []int `yaml:"ports"`
ICMP bool `yaml:"icmp"`
TLSChecks []inbound.TLSCheck `yaml:"tls_checks"`
}
func LoadControlAPI(path string) (*ControlAPI, error) {