lambda

package module
v0.0.0-...-501611f Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

middleware-for-lambda

implements middleware chain for aws lambda

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

Handler for lambda functions

type Lambda

type Lambda struct {
	// contains filtered or unexported fields
}

Lambda wrapper

func New

func New() *Lambda

New lambda wrapper constructor

func (*Lambda) Start

func (lw *Lambda) Start(handler Handler)

Start lambda with middlewares

func (*Lambda) Use

func (lw *Lambda) Use(middlewares ...Middleware)

Use middlewares on pipeline

type Middleware

type Middleware func(next Handler) Handler

Middleware for lambda functions

Jump to

Keyboard shortcuts

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