More idiomatic Golang

This commit is contained in:
9seconds
2026-03-31 15:07:01 +02:00
parent 0c9fa5e710
commit b6427ee321
4 changed files with 22 additions and 26 deletions
+4 -4
View File
@@ -52,10 +52,10 @@ type Config struct {
Blocklist ListConfig `json:"blocklist"`
Allowlist ListConfig `json:"allowlist"`
Doppelganger struct {
URLs []TypeHttpsURL `json:"urls"`
Repeats TypeConcurrency `json:"repeats_per_raid"`
UpdateEach TypeDuration `json:"raid_each"`
DRS TypeBool `json:"drs"`
URLs []TypeHttpsURL `json:"urls"`
Repeats TypeConcurrency `json:"repeats_per_raid"`
UpdateEach TypeDuration `json:"raid_each"`
DRS TypeBool `json:"drs"`
} `json:"doppelganger"`
} `json:"defense"`
Network struct {