Files
wails-epic/frontend/wailsjs/go/service/App.js
hxt 7865b0da7f refactor(frontend): 重构数据解析逻辑
- 新增 StopAndParseCapture 函数,整合停止抓包和解析数据流程
-重构 ReadRawJsonFile 函数,返回解析后的 ParsedResult 对象
- 优化数据解析流程,提高代码可读性和性能
- 调整前端 CapturePage组件,使用新的解析接口
2025-07-02 22:42:43 +08:00

40 lines
1.0 KiB
JavaScript

// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function ExportData(arg1, arg2) {
return window['go']['service']['App']['ExportData'](arg1, arg2);
}
export function GetCaptureStatus() {
return window['go']['service']['App']['GetCaptureStatus']();
}
export function GetCapturedData() {
return window['go']['service']['App']['GetCapturedData']();
}
export function GetNetworkInterfaces() {
return window['go']['service']['App']['GetNetworkInterfaces']();
}
export function ParseData(arg1) {
return window['go']['service']['App']['ParseData'](arg1);
}
export function ReadRawJsonFile() {
return window['go']['service']['App']['ReadRawJsonFile']();
}
export function StartCapture(arg1) {
return window['go']['service']['App']['StartCapture'](arg1);
}
export function StopAndParseCapture() {
return window['go']['service']['App']['StopAndParseCapture']();
}
export function StopCapture() {
return window['go']['service']['App']['StopCapture']();
}