goncurrency analysis framework
1.0.0
基本工具由可运行的代码编辑器组成(用于游乐场软件包)。设计用于将GO代码转换为中间格式的2阶段转换,然后使用外部工具进行分析。
WebService处理程序是在webservice/webservice.go中定义的,定义为名称和INIT函数。 InitFunc设置HTTP处理程序路径(使用默认的http.HandleFunc )。
type Handler struct {
Name string
InitFunc func()
}
可以通过可执行文件中的标志选择性地加载HTTP处理程序。默认情况下,只有Godel被加载。
事件处理程序以AJAX调用为static/script.js设置,应将响应编码为JSON对象。
{ 'MiGo': migo_output, 'time': execution_time, 'Error': error }{ 'CFSM': cfsm_output, 'time': execution_time, 'Error': error }{ 'Gong': gong_output, 'time': execution_time, 'Error': error }{ 'Godel': godel_output, 'time': execution_time, 'Error': error }