Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugSender ¶
type DebugSender struct {
// contains filtered or unexported fields
}
func NewDebugSender ¶
func NewDebugSender(writer io.Writer) *DebugSender
func (*DebugSender) Ping ¶
func (sender *DebugSender) Ping() error
type ProdSender ¶
type ProdSender struct {
Addr string `json:"addr" yaml:"addr"`
Name string `json:"name" yaml:"name"`
Email string `json:"email" yaml:"email"`
Domain string `json:"domain" yaml:"domain"`
Password string `json:"-" yaml:"-"`
// Dangerous setting, only use it for local development.
ForceUnencryptedTls bool `json:"forceUnencryptedTLS" yaml:"forceUnencryptedTLS"`
}
func (*ProdSender) Ping ¶
func (sender *ProdSender) Ping() error
Click to show internal directories.
Click to hide internal directories.