lambda

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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