lambdautils

package module
v0.0.0-...-7840d31 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 4 Imported by: 0

README

Golang Lambda Utils

Go Tests

A general dumping-ground for useful AWS lambda utilities

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graceful

type Graceful struct {
	GracePeriod time.Duration
	Handler     lambda.Handler
}

func WithGracefulShutdown

func WithGracefulShutdown(handler interface{}, gracePeriod time.Duration) *Graceful

func (*Graceful) Invoke

func (g *Graceful) Invoke(ctx context.Context, payload []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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