invok

command module
v0.0.0-...-4d927ca Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: MIT Imports: 8 Imported by: 0

README

invok

A simple command line tool to Invoke Go lambda functions locally

Install

From source (you need to have go 1.11 or above installed)

go get github.com/lmammino/invok
go install github.com/lmammino/invok

Usage

Once you have a lambda running locally on a given port:

cat someJSONevent.json | invok --host "localhost:1234"

Make sure to replace the event file and the host accordingly.

If you just want to test if the lambda is up and running:

invok --host "localhost:1234" --ping

If this command exits with status 0 than the lambda is up and running and reachable

Contributing

Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.

License

Licensed under MIT License. © Luciano Mammino.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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