feat(backend): implement grpc commander, add job dispatcher

This commit is contained in:
2026-04-04 02:40:33 +03:00
parent b99f60c7e5
commit 84807b9ba9
4 changed files with 173 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
package models
type Job struct {
ID int64
JobForInsert
JobForUpdate
}
type JobForInsert struct {
Command []string
Stdin *string
}
type JobForUpdate struct {
Stdout string
Stderr string
Status int32
}