2019-03-07 20:24:06 +01:00
2017-02-07 12:49:13 +01:00
2018-01-04 18:12:05 +01:00
2017-02-24 10:18:07 +01:00
2017-02-24 10:18:07 +01:00
2017-02-07 12:49:13 +01:00
2017-02-24 10:18:07 +01:00
2019-03-07 20:24:06 +01:00
2017-02-25 15:41:10 +01:00
2018-01-04 18:29:05 +01:00

go-msgauth

GoDoc Build Status

A Go library to create and parse Authentication-Results header fields.

Usage

// Format
results := []msgauth.Result{
	&msgauth.SPFResult{Value: msgauth.ResultPass, From: "example.net"},
	&msgauth.AuthResult{Value: msgauth.ResultPass, Auth: "sender@example.com"},
}
s := msgauth.Format("example.com", results)
log.Println(s)

// Parse
identifier, results, err := msgauth.Parse(s)
if err != nil {
	log.Fatal(err)
}

log.Println(identifier, results)

License

MIT

S
Description
🔏 A Go library and tools for DKIM, DMARC and Authentication-Results
Readme MIT
384 KiB
Languages
Go 100%