Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(handler *cloudevents.HandlerWrapper, options *Options) *Handler
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func NewDefaultHelper ¶
func NewDefaultHelper(handler *cloudevents.HandlerWrapper) *Helper
func NewHelper ¶
func NewHelper(handler *cloudevents.HandlerWrapper, options *Options) *Helper
type Record ¶
type Record struct {
EventVersion string `json:"eventVersion"`
EventSubscriptionArn string `json:"eventSubscriptionArn"`
EventSource string `json:"eventSource"`
EventName string `json:"eventName"`
EventID string `json:"eventID"`
SNS events.SNSEntity `json:"sns"`
S3 events.S3EventRecord `json:"s3"`
Kinesis events.KinesisRecord `json:"kinesis"`
MessageId string `json:"messageId"`
ReceiptHandle string `json:"receiptHandle"`
Body string `json:"body"`
Md5OfBody string `json:"md5OfBody"`
Md5OfMessageAttributes string `json:"md5OfMessageAttributes"`
Attributes map[string]string `json:"attributes"`
MessageAttributes map[string]events.SQSMessageAttribute `json:"messageAttributes"`
EventSourceARN string `json:"eventSourceARN"`
AWSRegion string `json:"awsRegion"`
}
Click to show internal directories.
Click to hide internal directories.