lambda_service

package
v0.13.0-rc.16 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 13 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.

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() (gateway.GatewayService, error)

func NewWithRuntime

func NewWithRuntime(runtime LambdaRuntimeHandler) (gateway.GatewayService, error)

Types

type Event

type Event struct {
	Requests []triggers.Trigger
}

Event incoming event

func (*Event) UnmarshalJSON

func (event *Event) UnmarshalJSON(data []byte) error

implement the unmarshal interface in order to handle multiple event 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