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