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

+4 -1
View File
@@ -3,6 +3,8 @@ package db
import (
"strings"
"time"
"cloudipvalidator/internal/inbound"
)
// Validator and IP lifecycle states. Kept as typed string constants rather
@@ -294,11 +296,12 @@ const (
)
// InboundChecksSettings is the singleton row describing what the prober
// checks on every site for every in-flight IP (TCP ports + optional ICMP).
// checks on every site for every in-flight IP.
// Admin-configurable at runtime (see queries_inbound.go).
type InboundChecksSettings struct {
Ports []int
ICMP bool
TLSChecks []inbound.TLSCheck
CreatedAt time.Time
UpdatedAt time.Time
}