package
Version:
v0.0.0-...-4003eb9
Opens a new window with list of versions in this module.
Published: Jan 25, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
wrapper for postmark spamcheck api
type Response struct {
Success bool `json:"success"`
Score string `json:"score"`
Rules []*Rule `json:"rules"`
Report string `json:"report"`
}
this type contains the response items of the spam check
check if email is spam
- optional getLong param - if true get report details
type Rule struct {
Score string `json:"score"`
Description string `json:"description"`
}
this type contains a checked rule's score and description
Source Files
¶
Click to show internal directories.
Click to hide internal directories.