Skip to content

Commit

Permalink
add http-nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-zerui committed Sep 28, 2021
1 parent 4c64dba commit d5cddc0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions fg-http-nodejs/hook/index.js
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit d5cddc0

Please sign in to comment.