项目作者: lmammino

项目描述 :
Command line tool to Invoke Go lambda functions locally
高级语言: Go
项目地址: git://github.com/lmammino/invok.git
创建时间: 2018-11-12T20:11:16Z
项目社区:https://github.com/lmammino/invok

开源协议:MIT License

下载


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)

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

Usage

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

  1. 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:

  1. 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.