Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorAPIKey = errors.New("Environment variable SENDGRID_API_KEY is undefined.")
ErrorAPIKey ...
View Source
var ErrorCouldNotFindSubjectClaim = errors.New("Could not find subject claim")
ErrorCouldNotFindSubjectClaim ...
View Source
var ErrorSubjectWasNotAString = errors.New("Subject was not a string")
ErrorSubjectWasNotAString ...
Functions ¶
Types ¶
type ConsoleLogger ¶
type ConsoleLogger struct { }
ConsoleLogger ...
func (ConsoleLogger) Error ¶
func (logger ConsoleLogger) Error(message string, err error)
type EmailService ¶
type EmailService interface { SendEmail(toAddress string, subject string, text string, fromAddress string, fromName string) (bool, error) }
EmailService ...
type GorrilaAndJwtSubjectFinder ¶
type GorrilaAndJwtSubjectFinder struct { }
GorrilaAndJwtSubjectFinder ...
func NewGorrilaAndJwtSubjectFinder ¶
func NewGorrilaAndJwtSubjectFinder() *GorrilaAndJwtSubjectFinder
NewGorrilaAndJwtSubjectFinder ...
func (*GorrilaAndJwtSubjectFinder) FindSubject ¶
FindSubject ...
Click to show internal directories.
Click to hide internal directories.