feat(runner): add the own code runner contract, client and nsjail service

This commit is contained in:
shira committed 2026-10-11 08:23:42 +03:00
1 parent 5e1db37746
commit cdf6bcbb91
109 files changed
+24084 -28

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
// Command runner serves the code runner API.
package main
import (
"fmt"
"os"
"lincodex/runner/internal/app"
)
func main() {
if len(os.Args) == 2 && os.Args[1] == "healthcheck" {
os.Exit(app.Healthcheck())
}
if err := app.Run(); err != nil {
fmt.Fprintln(os.Stderr, "runner:", err)
os.Exit(1)
}
}