| 30 | ) |
| 31 | |
| 32 | type Check struct { |
| 33 | InitErr error |
| 34 | EarlyErr error |
| 35 | ConnRes module.CheckResult |
| 36 | SenderRes module.CheckResult |
| 37 | RcptRes module.CheckResult |
| 38 | BodyRes module.CheckResult |
| 39 | |
| 40 | ConnCalls int |
| 41 | SenderCalls int |
| 42 | RcptCalls int |
| 43 | BodyCalls int |
| 44 | |
| 45 | UnclosedStates int |
| 46 | |
| 47 | InstName string |
| 48 | } |
| 49 | |
| 50 | func (c *Check) CheckStateForMsg(ctx context.Context, msgMeta *module.MsgMetadata) (module.CheckState, error) { |
| 51 | if c.InitErr != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected