From d5cddc0127a0f79b5d75cbbfbb3878318a99bcbd Mon Sep 17 00:00:00 2001 From: xinwuyun <1404894808@qq.com> Date: Wed, 29 Sep 2021 00:57:53 +0800 Subject: [PATCH] add http-nodejs --- fg-http-nodejs/hook/index.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 fg-http-nodejs/hook/index.js diff --git a/fg-http-nodejs/hook/index.js b/fg-http-nodejs/hook/index.js new file mode 100644 index 0000000..e76deb5 --- /dev/null +++ b/fg-http-nodejs/hook/index.js @@ -0,0 +1,21 @@ +async function preInit(inputObj) { + +} + +async function postInit(inputObj) { + console.log('\n _ _ _ _____ _ _ ______ _____ \n | | | | (_)/ ____| | | | | ____/ ____|\n | |__| |_ _ __ ___ _____ _| | | | ___ _ _ __| | | |__ | | __ \n | __ | | | |/ _` \\ \\ /\\ / / _ \\ | | | |/ _ \\| | | |/ _` | | __|| | |_ |\n | | | | |_| | (_| |\\ V V / __/ | |____| | (_) | |_| | (_| | | | | |__| |\n |_| |_|\\__,_|\\__,_| \\_/\\_/ \\___|_|\\_____|_|\\___/ \\__,_|\\__,_| |_| \\_____|\n \n \n') + console.log(`\n Welcome to the Huawei FunctionGraph start application + This application requires to open these services: + FunctionGraph : https://console.huaweicloud.com/ + This application can help you quickly deploy the huaweicloud functionGraph project. + The application uses FG component: + * Help Docs : https://github.com/xinwuyun/fg + * Yaml Config: https://github.com/xinwuyun/fg/blob/main/docs/Others/yaml.md + The application homepage: https://github.com/xinwuyun/start-fg\n`) +} + +module.exports = { + postInit, + preInit +} +postInit() \ No newline at end of file