Propagate settings to Proxy

This commit is contained in:
9seconds
2026-03-12 19:07:11 +01:00
parent 25ad776b6f
commit 75392941da
4 changed files with 42 additions and 0 deletions
+15
View File
@@ -142,6 +142,21 @@ type ProxyOpts struct {
//
// OBSOLETE and DEPRECATED. Ignored.
DCOverrides map[int][]string
// DoppelGangerURLs is a list of URLs that should be crawled by
// mtg to calculate parameters for statistical distribution of a
// traffic for fronting domains. If nothing is given, then predefined
// statistics is going to be used.
DoppelGangerURLs []string
// DoppelGangerPerRaid defines how many time each URL from
// DoppelGangerURLs list should be crawled per raid. We recommend to
// have this number ~10.
DoppelGangerPerRaid uint
// DoppelGangerEach defines a time period between each raid. We recommend
// to use hours here.
DoppelGangerEach time.Duration
}
func (p ProxyOpts) valid() error {