lambda

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2025 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartBatchSQSEventHandler added in v0.0.17

func StartBatchSQSEventHandler(makeHandler SQSBatchEventHandlerBuilder)

StartBatchSQSEventHandler starts a lambda handler that processes SQS events.

func StartHTTPHandler

func StartHTTPHandler(makeHandler HTTPHandlerBuilder)

StartHTTPHandler starts a lambda handler that processes HTTP requests.

func StartSQSEventHandler

func StartSQSEventHandler(makeHandler SQSEventHandlerBuilder)

StartSQSEventHandler starts a lambda handler that processes SQS events.

Types

type HTTPHandlerBuilder

type HTTPHandlerBuilder func(aws.Config) (http.Handler, error)

HTTPHandlerBuilder is a function that creates a http.Handler from a config.

type SQSBatchEventHandler added in v0.0.17

type SQSBatchEventHandler func(context.Context, events.SQSEvent) (events.SQSEventResponse, error)

SQSBatchEventHandler is a function that handles SQS events, suitable to use as a lambda handler.

type SQSBatchEventHandlerBuilder added in v0.0.17

type SQSBatchEventHandlerBuilder func(aws.Config) (SQSBatchEventHandler, error)

SQSBatchEventHandlerBuilder is a function that creates a SQSBatchEventHandler from a config.

type SQSEventHandler

type SQSEventHandler func(context.Context, events.SQSEvent) error

SQSEventHandler is a function that handles SQS events, suitable to use as a lambda handler.

type SQSEventHandlerBuilder

type SQSEventHandlerBuilder func(aws.Config) (SQSEventHandler, error)

SQSEventHandlerBuilder is a function that creates a SQSEventHandler from a config.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL