lambda_service

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

AWS Lambda gateway plugin

The AWS Lambda gateway plugin leverages the AWS golang Lambda SDK to act as a bridge between the AWS lambda service and a Nitric Application.

Currently supported event types are:

  • API Gateway Events
  • SNS Events

Sublime's custom image

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(provider core.AwsProvider) (gateway.GatewayService, error)

func NewWithRuntime

func NewWithRuntime(provider core.AwsProvider, runtime LambdaRuntimeHandler) (gateway.GatewayService, error)

Types

type LambdaGateway

type LambdaGateway struct {
	gateway.UnimplementedGatewayPlugin
	// contains filtered or unexported fields
}

func (*LambdaGateway) Start

func (s *LambdaGateway) Start(pool worker.WorkerPool) error

Start the lambda gateway handler

func (*LambdaGateway) Stop

func (s *LambdaGateway) Stop() error

type LambdaRuntimeHandler

type LambdaRuntimeHandler func(handler interface{})

Jump to

Keyboard shortcuts

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