Add dns client

This commit is contained in:
世界 committed 2022-07-06 23:14:19 +08:00
1 parent 651c4b539a
commit 8a761d7e3b
23 files changed
+582 -145

No files matched your search

+1 -3
View File
@@ -101,9 +101,7 @@ type DefaultRule struct {
IPCIDR Listable[string] `json:"ip_cidr,omitempty"`
SourcePort Listable[uint16] `json:"source_port,omitempty"`
Port Listable[uint16] `json:"port,omitempty"`
// ProcessName Listable[string] `json:"process_name,omitempty"`
// ProcessPath Listable[string] `json:"process_path,omitempty"`
Outbound string `json:"outbound,omitempty"`
Outbound string `json:"outbound,omitempty"`
}
func (r DefaultRule) IsValid() bool {