local

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(input Input) ([]byte, error)

Run a Go based lambda, passing the configured payload note that 'payload' can be anything that can be encoded by encoding/json

Types

type Input

type Input struct {
	Delay         time.Duration
	TimeOut       time.Duration
	Port          int
	AbsLambdaPath string
	Payload       interface{}
	ClientContext *lc.ClientContext
	Deadline      *messages.InvokeRequest_Timestamp
}

Jump to

Keyboard shortcuts

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