Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEventsLambdaHandler ¶
type CloudEventsLambdaHandler struct {
// contains filtered or unexported fields
}
func NewCloudEventsLambdaHandler ¶
func NewCloudEventsLambdaHandler(receiver CloudEventsReceiver) CloudEventsLambdaHandler
func (*CloudEventsLambdaHandler) Start ¶
func (h *CloudEventsLambdaHandler) Start()
type CloudEventsReceiver ¶
type CloudEventsReceiver = func(cloudevents.Event) error
type EventBridgeEvent ¶
type EventBridgeEvent struct {
events.CloudWatchEvent `json:",inline"`
}
func DecodeEventBridgeEvent ¶
func DecodeEventBridgeEvent(body []byte) (message *EventBridgeEvent, ok bool)
func (*EventBridgeEvent) GetBodies ¶
func (m *EventBridgeEvent) GetBodies() [][]byte
func (*EventBridgeEvent) IsValid ¶
func (m *EventBridgeEvent) IsValid() bool
Click to show internal directories.
Click to hide internal directories.