Files
Supervisor/internal/session/models.go

21 lines
362 B
Go

package session
import "supervisor/internal/domain"
type CreateSessionParams struct {
Name string `json:"name"`
AgentID string `json:"agentId"`
Command string `json:"command"`
}
type InputRequest struct {
Input string `json:"input"`
}
type ResizeRequest struct {
Cols int `json:"cols"`
Rows int `json:"rows"`
}
type SessionSummary = domain.Session