UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

29 lines (22 loc) 721 B
# Welcome to serverless. Read the fn provider docs # https://serverless.com/framework/docs/providers/fn/ # Serverless.yml is the configuration the CLI # uses to deploy your code to your provider of choice # The `service` block is the name of the service service: hello-world # NOTE: update this with your service name frameworkVersion: '2' # The `provider` block defines where your service will be deployed provider: name: fn plugins: - serverless-fn # The `functions` block defines what code to deploy functions: hello: # <- hello references the ./hello folder and the func.go file inside name: hello version: 0.0.1 format: json runtime: go events: - http: path: /hellogo