lambda

package module
v0.0.0-...-b33d704 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 8 Imported by: 0

README

mock-lambda

A mock lambda handler made for serverless-offline go1.x runtime

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(h interface{})

Types

type MockLambda

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

type Payload

type Payload struct {
	Error   string      `json:"error,omitempty"`
	Success interface{} `json:"success,omitempty"`
}

type Response

type Response struct {
	Payload Payload `json:"offline_payload"`
}

Jump to

Keyboard shortcuts

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