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

Function authVerdict

internal/httpapi/messages.go:258–264  ·  view source on GitHub ↗

authVerdict converts the domain verdict to its wire view (nil-safe).

(r *emailauth.Result)

Source from the content-addressed store, hash-verified

256
257// authVerdict converts the domain verdict to its wire view (nil-safe).
258func authVerdict(r *emailauth.Result) *AuthVerdict {
259 if r == nil {
260 return nil
261 }
262 v := AuthVerdict(*r)
263 return &v
264}
265
266func messageSummaryFromIdentity(m identity.Message) MessageSummaryView {
267 s := MessageSummaryView{

Callers 2

messageViewFromIdentityFunction · 0.85

Calls 1

AuthVerdictTypeAlias · 0.70

Tested by

no test coverage detected