【文件属性】:
文件名称:go-v8:Golang的v8 JavaScript引擎绑定
文件大小:49KB
文件格式:ZIP
更新时间:2021-05-22 03:12:26
Go
Go-V8
Go的V8 JavaScript引擎绑定。
特征
线程安全
彻底仔细的测试
布尔值,数字,字符串,对象,数组,正则表达式,函数
编译并运行JavaScript
保存并加载预编译的脚本数据
使用全局对象模板创建JavaScript上下文
在Go中操作JavaScript对象属性和数组元素
使用属性访问器和拦截器在Go中定义JavaScript对象模板
在Go中定义JavaScript函数模板
在Go中捕获JavaScript异常
Go抛出JavaScript异常
JSON解析并生成
安装
对于“卷曲”用户。 请运行以下shell命令:
curl -O && chmod + x get.sh && ./get.sh go-v8
对于“ wget”用户。 请运行以下shell命令:
wget && chmod + x get.sh && ./get.sh go-v8
【文件预览】:
go-v8-master
----install.sh(2KB)
----test.sh(574B)
----v8_util.go(5KB)
----v8_global.go(352B)
----v8_all_test.go(30KB)
----v8_wrap.cc(46KB)
----get.sh(337B)
----samples()
--------hello_world()
----v8_engine.go(1KB)
----LICENSE(1KB)
----v8_wrap.h(9KB)
----v8_context.go(3KB)
----v8_template.go(17KB)
----README.md(5KB)
----v8_value.go(6KB)
----v8_script.go(4KB)
----labs()
--------thread_test2.cpp(811B)
--------hello_world.cpp(1KB)
--------blocked_cgocall.go(549B)
--------thread_test1.cpp(698B)
--------underscore.js(43KB)
--------thread_test3.cpp(756B)
--------make.sh(739B)
--------instance_template.cpp(1KB)
--------thread_test.h(2KB)
----v8_object.go(6KB)
----TODO.txt(153B)
----gcc48.patch(216B)