Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Server string `yaml:"server"` Port string `yaml:"port"` Username string `yaml:"username"` Password string `yaml:"password"` Subject string `yaml:"subject"` From string `yaml:"from"` Template string `yaml:"customTemplate"` To []string `yaml:"to"` IsEnabled bool `yaml:"enabled"` }
Provider is an implementation of the `go-aws-news/providers` Provider interface.
func (*Provider) Notify ¶
func (p *Provider) Notify(news news.Announcements)
Notify is the function executed to POST to a provider's webhook url.
Click to show internal directories.
Click to hide internal directories.