askpermission

package
v0.0.0-...-132a670 Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailAndWebhook

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

func (*EmailAndWebhook) GetAnswer

func (e *EmailAndWebhook) GetAnswer() (string, error)

type QuestionAsker

type QuestionAsker interface {
	GetAnswer() (string, error)
}

func NewEmailAndWebhook

func NewEmailAndWebhook(logger logging.Logger, listenAddress, baseURL string, sendGridConfig *mailing.SendGridConfig, recipientsProvider mailing.AddressesProvider, question string, answers []string) QuestionAsker

Jump to

Keyboard shortcuts

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