feat: container
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
extern crate core;
|
extern crate core;
|
||||||
|
|
||||||
use std::time::SystemTime;
|
use std::time::SystemTime;
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use serde_json::Value;
|
use serde_json::Value;
|
||||||
use wasmtime::{Config, Engine, Instance, Linker, Module, Store};
|
use wasmtime::{Config, Engine, Instance, Linker, Module, Store};
|
||||||
|
|
||||||
use crate::fn_common::FnResult;
|
use crate::fn_common::FnResult;
|
||||||
|
|
||||||
mod fn_common;
|
mod fn_common;
|
||||||
@@ -55,7 +57,7 @@ fn main() -> Result<()> {
|
|||||||
console.log('query: ' + 'print_request.action');
|
console.log('query: ' + 'print_request.action');
|
||||||
a.push(fetch('https://hatter.ink/util/print_request.action', {
|
a.push(fetch('https://hatter.ink/util/print_request.action', {
|
||||||
headers: {
|
headers: {
|
||||||
'Test-Header': 'this is a test header'
|
'Test-Header': 'this is a test header',
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
// a.push(fetch('https://hatter.ink/ip.action'));
|
// a.push(fetch('https://hatter.ink/ip.action'));
|
||||||
|
|||||||
Reference in New Issue
Block a user