Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 1.07 KB

README.md

File metadata and controls

26 lines (13 loc) · 1.07 KB

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.