app

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	Exec(contactsProvider request.ContactsProvider, smtp email.Sender, reminder remind.Params, recipients []string) error
}

App is an interface which represents an executable application

type BirthdayPal

type BirthdayPal struct {
}

BirthdayPal represents this very software, and helps people to remind birthdays by sending reminders.

func (BirthdayPal) Exec

func (bp BirthdayPal) Exec(contactsProvider request.ContactsProvider, smtp email.Sender, remindParams remind.Params, recipients []string) error

Exec of BirthdayPal fetches contacts, then retrieve birthdays to remind, and finally send reminders to recipients

Jump to

Keyboard shortcuts

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