| 58 | ) |
| 59 | |
| 60 | type statelessCheck struct { |
| 61 | modName string |
| 62 | instName string |
| 63 | resolver dns.Resolver |
| 64 | logger *log.Logger |
| 65 | |
| 66 | // One used by Init if config option is not passed by a user. |
| 67 | defaultFailAction modconfig.FailAction |
| 68 | // The actual fail action that should be applied. |
| 69 | failAction modconfig.FailAction |
| 70 | |
| 71 | connCheck FuncConnCheck |
| 72 | senderCheck FuncSenderCheck |
| 73 | rcptCheck FuncRcptCheck |
| 74 | bodyCheck FuncBodyCheck |
| 75 | } |
| 76 | |
| 77 | type statelessCheckState struct { |
| 78 | c *statelessCheck |
nothing calls this directly
no outgoing calls
no test coverage detected