draft grpc
This commit is contained in:
13
internal/video/runtime/domain/log.go
Normal file
13
internal/video/runtime/domain/log.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package domain
|
||||
|
||||
type LogEntry struct {
|
||||
JobID string `json:"job_id"`
|
||||
Line string `json:"line"`
|
||||
Progress float64 `json:"progress"`
|
||||
}
|
||||
|
||||
type SystemResource struct {
|
||||
AgentID string `json:"agent_id"`
|
||||
CPU float64 `json:"cpu"`
|
||||
RAM float64 `json:"ram"`
|
||||
}
|
||||
Reference in New Issue
Block a user