Documentation
¶
Overview ¶
Package app wires the function together from its configuration. It is the only package that knows about every other one; main and the devtool CLI call it, and tests use its options to replace the Cognito client and the HTTP client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*deps)
Option replaces a dependency that New would otherwise build from the configuration and AWS config.
func WithCognitoClient ¶
func WithCognitoClient(c postconfirmation.CognitoAPI) Option
WithCognitoClient replaces the Cognito client the PostConfirmation hook calls.
func WithHTTPClient ¶
WithHTTPClient sets the HTTP client used for SendGrid.
Click to show internal directories.
Click to hide internal directories.