all: support custom config from Control-D resolver

This commit is contained in:
Cuong Manh Le authored and Cuong Manh Le committed 2023-05-13 12:04:39 +07:00
1 parent 9df381d3d1
commit 69319c6b41
2 files changed
+40 -29

No files matched your search

+4 -1
View File
@@ -24,7 +24,10 @@ const (
// ResolverConfig represents Control D resolver data.
type ResolverConfig struct {
DOH string `json:"doh"`
DOH string `json:"doh"`
Ctrld struct {
CustomConfig string `json:"custom_config"`
} `json:"ctrld"`
Exclude []string `json:"exclude"`
}