Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNonLambdaContext = errors.New("error could not get lambda context")
)
Functions ¶
This section is empty.
Types ¶
type HMACValidator ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) Handle ¶
func (h *Handler) Handle(ctx context.Context, request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
type Response ¶
type Response struct { Error string `json:"error,omitempty"` Message string `json:"message,omitempty"` }
func NewResponse ¶
type SNSClient ¶
type SNSClient interface { Publish(input *sns.PublishInput) (*sns.PublishOutput, error) CreateTopic(input *sns.CreateTopicInput) (*sns.CreateTopicOutput, error) }
Click to show internal directories.
Click to hide internal directories.