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

Struct state

internal/check/rspamd/rspamd.go:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148type state struct {
149 c *Check
150 msgMeta *module.MsgMetadata
151 log *log.Logger
152
153 mailFrom string
154 rcpt []string
155}
156
157func (c *Check) CheckStateForMsg(ctx context.Context, msgMeta *module.MsgMetadata) (module.CheckState, error) {
158 return &state{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected