MCPcopy Create free account
hub / github.com/foxcpp/maddy / state

Struct state

internal/check/milter/milter.go:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111type state struct {
112 c *Check
113 session *milter.ClientSession
114 msgMeta *module.MsgMetadata
115 skipChecks bool
116 log *log.Logger
117}
118
119func (c *Check) CheckStateForMsg(ctx context.Context, msgMeta *module.MsgMetadata) (module.CheckState, error) {
120 session, err := c.cl.Session()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected