email

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	// Name of the channel
	Name string `json:"name" yaml:"name"`
	// From field
	From string `json:"from" yaml:"from"`
	// To field
	To string `json:"to" yaml:"to"`
	// Cc field
	Cc string `json:"cc" yaml:"cc"`
	// Host value
	Host string `json:"host" yaml:"host"`
	// Port value
	Port string `json:"port" yaml:"port"`
	// Username value
	Username string `json:"username" yaml:"username"`
	// Password value
	Password string `json:"password" yaml:"password"`
	// Secure value
	Secure string `json:"secure" yaml:"secure"`
	// Timeout value
	Timeout int `json:"timeout" yaml:"timeout"`
}

Email configures notifications via email.

func (Email) Validate

func (cfg Email) Validate() error

Validate checks the email configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL