mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
Function service (#227)
This commit is contained in:
10
examples/function/list/node/listFunctions.js
Executable file
10
examples/function/list/node/listFunctions.js
Executable file
@@ -0,0 +1,10 @@
|
||||
import * as fx from "m3o/function";
|
||||
|
||||
//
|
||||
async function ListFunctions() {
|
||||
let functionService = new fx.FunctionService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await functionService.list({});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await ListFunctions();
|
||||
Reference in New Issue
Block a user