lambda

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0, MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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