MCPcopy Index your code
hub / github.com/foxcpp/maddy / Check

Struct Check

internal/testutils/check.go:32–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30)
31
32type 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
50func (c *Check) CheckStateForMsg(ctx context.Context, msgMeta *module.MsgMetadata) (module.CheckState, error) {
51 if c.InitErr != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected