loop MTD, checks before doing mtd to service

This commit is contained in:
schulze
2023-04-18 11:08:31 +02:00
parent e8962c3cba
commit 143e839e78
3 changed files with 33 additions and 4 deletions

View File

@ -24,6 +24,8 @@ type mtdconf struct {
// Service contains all necessary information about a service to identify it in the cloud as well as configuring a proxy for it
type Service struct {
CloudID string `yaml:"cloud_id"`
AdminDisabled bool `yaml:"admin_disabled"`
Inactive bool `yaml:"inactive"`
EntryIP netip.Addr `yaml:"entry_ip"`
EntryPort uint16 `yaml:"entry_port"`
ServiceIP netip.Addr `yaml:"service_ip"`