air

package
v0.0.0-...-cfbac83 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMaxReportAge = 60
)

Variables

This section is empty.

Functions

func Run

func Run(appConfig AppConfig) error

Types

type AppConfig

type AppConfig struct {
	Debug        bool
	TargetsFile  string
	FiltersFile  string
	ReportFile   string
	ConfigPath   string
	MaxReportAge int

	OutputDir string
	// contains filtered or unexported fields
}

type Email

type Email struct {
	Provider   string
	Host       string
	Port       string
	Username   string
	Password   string
	Region     string
	Source     string
	Subject    string
	Recipients []string
}

Email has the settings to be used to connect to a mail server and the properties of the email to send

type Report

type Report struct {
	Email Email
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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