RequestValidator is an interface that lets you add custom validators for what are good and bad responses
| 10 | |
| 11 | // RequestValidator is an interface that lets you add custom validators for what are good and bad responses |
| 12 | type RequestValidator interface { |
| 13 | Validate(r http.Response, wildcardResponses []WildcardResponse, c *Config) error |
| 14 | } |
| 15 | |
| 16 | type KnownBadSitesValidator struct{} |
| 17 |
no outgoing calls
no test coverage detected