Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SMTPCLIConfig ¶
type SMTPCLIConfig struct { From string `json:"from,omitempty"` To string `json:"to,omitempty"` Message string `json:"message,omitempty"` Server string `json:"server,omitempty"` DisableTLS bool `json:"disable_tls,omitempty"` STARTTLS bool `json:"starttls,omitempty"` Insecure bool `json:"insecure,omitempty"` }
func SMTPCLIFlags ¶
func SMTPCLIFlags(cmd *cobra.Command) *SMTPCLIConfig
func (*SMTPCLIConfig) Validate ¶
func (c *SMTPCLIConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.