MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / SetStatus

Method SetStatus

internal/senderidentity/fake.go:76–80  ·  view source on GitHub ↗

SetStatus fixes the Result returned by Status for domain.

(domain string, r Result)

Source from the content-addressed store, hash-verified

74
75// SetStatus fixes the Result returned by Status for domain.
76func (f *FakeProvider) SetStatus(domain string, r Result) {
77 f.mu.Lock()
78 defer f.mu.Unlock()
79 f.statusByDomain[domain] = r
80}
81
82// SetStatusSequence queues results consumed one-per-Status-call for domain;
83// the last result repeats once the sequence drains. Lets a test drive

Callers 6

TestReconcileWorker_WorkFunction · 0.95
TestProvisionToVerifiedFunction · 0.95
TestProvisionFailsClosedFunction · 0.95
writeEnvelopeFunction · 0.45

Calls

no outgoing calls