Support configurable TLS probes in the API and dashboard
This commit is contained in:
1 parent
0bde5627f0
commit
c7fdd2c430
38 files changed
+495
-203
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user