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

Method SetStatus

internal/msgpipeline/msgpipeline.go:448–454  ·  view source on GitHub ↗
(rcptTo string, err error)

Source from the content-addressed store, hash-verified

446}
447
448func (sc statusCollector) SetStatus(rcptTo string, err error) {
449 original, ok := sc.originalRcpts[rcptTo]
450 if ok {
451 rcptTo = original
452 }
453 sc.wrapped.SetStatus(rcptTo, err)
454}
455
456func (dd *msgpipelineDelivery) BodyNonAtomic(ctx context.Context, c module.StatusCollector, header textproto.Header, body buffer.Buffer) {
457 setStatusAll := func(err error) {

Callers

nothing calls this directly

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected