run-go-lambda

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT

README

run-go-lambda

This is a simple tool that can be used to send test data to a Go program written to run with the AWS Lambda Go Runtime (Announcement)

When you run (via a binary produced by go build or via go run) your function, the Lambda handler starts a net/rpc server. This tool can then connect to that server, and invoke the function with a given payload.

This is quite handy for quickly testing your function works (possibly against local resources) before deploying it to AWS.

Usage

See the example shell script for a possible approach to using the tool.

Building

Do a dep ensureand then go build. Copy the binary somewhere useful - go install might be applicable for for workspace.

Contributing

Please read the Licence and Code of Conduct before contributing.

Patches can be submitted by following the usual GitHub "fork -> feature branch -> pull request" dance.

Thanks.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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