【发布时间】:2017-08-07 01:48:35
【问题描述】:
我有一个函数 getUsers 我正在部署在我的云函数上。
index.js
exports.getUsers = functions.https.onRequest((request, response) => {
// I want to call computeData function here
});
function computeData(user, x, algo) {
}
我不想导出computeData 函数,只是想在导出函数中调用它。 Cloud Functions for Firebase 中的操作方法是什么?
【问题讨论】:
标签: node.js firebase google-cloud-functions