Versions in this module Expand all Collapse all v0 v0.1.1 Oct 14, 2020 v0.1.0 Oct 13, 2020 Changes in this version + const LogLevelDebug + const LogLevelInfo + const MessageAttribAppName + const MessageAttribAppVers + type DBHandler struct + func NewDB(c DynamoDBAPI) *DBHandler + type DynamoDBAPI interface + GetItem func(*dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error) + type Handler struct + func NewHandler(ddb DynamoDBAPI, sqs SQSAPI) *Handler + func (h *Handler) Handle(ctx context.Context, sqsEvent events.SQSEvent) error + type Item struct + Application string + Loghandler string + Version string + type SQSAPI interface + DeleteMessage func(*sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error) + GetQueueUrl func(*sqs.GetQueueUrlInput) (*sqs.GetQueueUrlOutput, error) + SendMessage func(*sqs.SendMessageInput) (*sqs.SendMessageOutput, error) + type SQSHandler struct + func NewSQS(c SQSAPI) *SQSHandler