Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffRedhat ¶ added in v0.4.1
func DiffRedhat(old, new *models.RedhatCVE, config config.RedhatWatchCve) (body string)
DiffRedhat returns the difference between the old and new CVE information
Types ¶
type EMailSender ¶
EMailSender is interface of sending e-mail
func NewEMailSender ¶
func NewEMailSender(config config.SMTPConf) EMailSender
NewEMailSender creates emailSender
Click to show internal directories.
Click to hide internal directories.