Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RecaptchaSecret string
)
Functions ¶
func Handler ¶
func Handler(ctx context.Context, request *events.APIGatewayProxyRequest) (*events.APIGatewayProxyResponse, error)
Types ¶
type RequestData ¶
type RequestData struct { EmailAddress string `json:"emailAddress"` ReCaptchaChallengeToken string `json:"recaptchaChallengeToken"` }
func (*RequestData) Validate ¶
func (r *RequestData) Validate() error
Click to show internal directories.
Click to hide internal directories.