Add tests for config error rate type

This commit is contained in:
9seconds
2021-03-11 21:30:43 +03:00
parent d48e82be7c
commit 5c4536c591
3 changed files with 130 additions and 11 deletions
+3 -3
View File
@@ -22,9 +22,9 @@ type Config struct {
AllowSkewness TypeDuration `json:"allow-skewness"`
} `json:"time"`
AntiReplay struct {
Enabled bool `json:"enabled"`
MaxSize TypeBytes `json:"max-size"`
ErrorRate TypeFloat `json:"error-rate"`
Enabled bool `json:"enabled"`
MaxSize TypeBytes `json:"max-size"`
ErrorRate TypeErrorRate `json:"error-rate"`
} `json:"anti-replay"`
} `json:"probes"`
Network struct {