contact

package
v0.0.0-...-5513f93 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlainAuth

func PlainAuth(identity, username, password, host string) smtp.Auth

Types

type Contact

type Contact interface {
	Name() string
	Notify(title string, body string) error
}

func ParseContact

func ParseContact(file string) (Contact, error)

type Email

type Email struct {
	// contains filtered or unexported fields
}

func ParseEmail

func ParseEmail(file string) (*Email, error)

func (*Email) Name

func (e *Email) Name() string

func (*Email) Notify

func (e *Email) Notify(title string, body string) error

Jump to

Keyboard shortcuts

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