command
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Feb 6, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Lambda Function URLs example of ridgenative
It is a saying hello example on Lambda Function URLs.
$ curl -F name=shogo https://xxxxxxx.lambda-url.ap-northeast-1.on.aws/hello
RUN LOCALLY
$ go run main.go
$ curl -F name=shogo http://localhost:8080/hello
Hello shogo
Run on AWS Lambda
template.yaml is AWS Serverless Application Model template file.
You can run this sample on AWS with Lambda Function URLs.
$ ./deploy.sh $YOUR_S3_BUCKET_NAME $YOUR_STACK_NAME
$ curl -F name=shogo https://$API_ID.lambda-url.$REGION.on.aws/hello
Hello shogo
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.