Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPWriter ¶
type SMTPWriter struct { log.LogFilter log.LogFormatter log.SubFormatter Host string Port int Insecure bool Username string Password string From string Tos []string Ccs []string Timeout time.Duration // contains filtered or unexported fields }
SMTPWriter implements log Writer Interface and send log message.
func (*SMTPWriter) SetTimeout ¶
func (sw *SMTPWriter) SetTimeout(timeout string) error
SetTimeout set timeout
Click to show internal directories.
Click to hide internal directories.