mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
9 lines
259 B
JavaScript
9 lines
259 B
JavaScript
'use strict';
|
|
|
|
// Your first function handler
|
|
module.exports.hello = (event, context, cb) => cb(null,
|
|
{ message: 'Go Serverless v1.0! Your function executed successfully!', event }
|
|
);
|
|
|
|
// You can add more handlers here, and reference them in serverless.yml
|