example-serverless-go

command module
v0.0.0-...-caa393a Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

README

example-serverless-go

Serverless Frameworkのサンプルコード。

Requirements

ビルド

依存ライブラリのダウンロードとバイナリのビルドを実行します。

make build

デプロイ

バイナリをビルドしてLambdaへデプロイします。

make deploy

ローカル実行

ローカル環境で実行します。

make invoke-local

リモート実行

デプロイ済みのLambdaを実行します。

make invoke-remote

Makefile

build                          Build the application
clean                          Clean the binary
deploy                         Deploy a Serverless service
deps                           Install dependencies
generate-event                 Generate event
help                           Show help
info                           Display information about the service
invoke-local                   Invoke function locally
invoke-remote                  Invoke function remotely
logs                           Output the logs of a deployed function
remove                         Remove Serverless service and all resources

License

Apache 2 Licensed. See LICENSE for full details.

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