helioslambda

package module
v1.34.8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 14 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

View Source
var InstrumentedSymbols = [...]string{"Start", "StartWithContext", "StartWithOptions"}

Functions

func HandleRecord added in v1.34.2

func HandleRecord(ctx context.Context, record events.SQSMessage, handleRecordHelper func(ctx context.Context, message events.SQSMessage) (any, error)) (any, error)

func Start

func Start(handler interface{})

func StartHandler

func StartHandler(handler Handler)

func StartHandlerWithContext

func StartHandlerWithContext(ctx context.Context, handler Handler)

func StartWithContext

func StartWithContext(ctx context.Context, handler interface{})

func StartWithOptions

func StartWithOptions(handler interface{}, options ...Option)

Types

type Function

type Function = lambda.Function

func NewFunction

func NewFunction(handler Handler) *Function

type Handler

type Handler = lambda.Handler

func NewHandler

func NewHandler(handlerFunc interface{}) Handler

func NewHandlerWithOptions

func NewHandlerWithOptions(handlerFunc interface{}, options ...Option) Handler

type Option

type Option = lambda.Option

func WithContext

func WithContext(ctx context.Context) Option

func WithEnableSIGTERM

func WithEnableSIGTERM(callbacks ...func()) Option

func WithSetEscapeHTML

func WithSetEscapeHTML(escapeHTML bool) Option

func WithSetIndent

func WithSetIndent(prefix, indent string) Option

Jump to

Keyboard shortcuts

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