feat: add publish, and rpc
This commit is contained in:
7
__enclave/virt_enclave/sample.js
Normal file
7
__enclave/virt_enclave/sample.js
Normal file
@@ -0,0 +1,7 @@
|
||||
function __EXPORT(f) { eval('__PUBLIC_' + f + '=' + f); }
|
||||
|
||||
function getName() {
|
||||
return 'This is hatter!';
|
||||
}
|
||||
|
||||
__EXPORT('getName');
|
||||
Reference in New Issue
Block a user