We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d057a58 commit f1225c8Copy full SHA for f1225c8
dmarc.go
@@ -20,10 +20,10 @@ const (
20
type FailureOptions int
21
22
const (
23
- FailureAll FailureOptions = 1 << iota // "0"
24
- FailureAny
25
- FailureDKIM
26
- FailureSPF
+ FailureAll FailureOptions = 1 << iota // "0"
+ FailureAny // "1"
+ FailureDKIM // "d"
+ FailureSPF // "s"
27
)
28
29
type Policy string
@@ -60,7 +60,7 @@ func (err tempFailError) Error() string {
60
return "dmarc: " + string(err)
61
}
62
63
-// IsTempFail returns true if the error returned by Verify is a temporary
+// IsTempFail returns true if the error returned by Lookup is a temporary
64
// failure.
65
func IsTempFail(err error) bool {
66
_, ok := err.(tempFailError)
0 commit comments