IsStatusCodeExcluded 检查状态码是否应该排除
(statusCode int)
| 70 | |
| 71 | // IsStatusCodeExcluded 检查状态码是否应该排除 |
| 72 | func IsStatusCodeExcluded(statusCode int) bool { |
| 73 | return ClassifyStatusCode(statusCode, true) == StatusCodeCategoryExcluded |
| 74 | } |
| 75 | |
| 76 | // NetworkResult 网络检测结果 |
| 77 | type NetworkResult struct { |
nothing calls this directly
no test coverage detected