Go backend (#1555)

* Replaces old Deno server with a Go implementation
* Restructured the code base accordingly
This commit is contained in:
Zef Hemel
2025-09-19 13:23:20 +02:00
committed by GitHub
parent ff2cb27a1b
commit a524c64884
322 changed files with 3841 additions and 3228 deletions
+12
View File
@@ -0,0 +1,12 @@
import type { SysCallMapping } from "../../lib/plugos/system.ts";
import { reloadAllWidgets } from "../cm_plugins/code_widget.ts";
import { broadcastReload } from "../components/widget_sandbox_iframe.ts";
export function clientCodeWidgetSyscalls(): SysCallMapping {
return {
"codeWidget.refreshAll": () => {
broadcastReload();
return reloadAllWidgets();
},
};
}