Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "email"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
InitHandler initialize the output plugin
Types ¶
type OutputConfig ¶
type OutputConfig struct { config.OutputConfig Address string `json:"address"` Attachments []string `json:"attachments"` From string `json:"from"` To string `json:"to"` Cc string `json:"cc"` Subject string `json:"subject"` Port int `json:"port"` UseTLS bool `json:"use_tls"` UserName string `json:"username"` Password string `json:"password"` }
OutputConfig holds the configuration json fields and internal objects
func DefaultOutputConfig ¶
func DefaultOutputConfig() OutputConfig
DefaultOutputConfig returns an OutputConfig struct with default values
Click to show internal directories.
Click to hide internal directories.