package
Version:
v0.0.93
Opens a new window with list of versions in this module.
Published: Nov 19, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type KillAllResponse struct {
KilledCount int `json:"killed_count"`
KilledPIDs []int `json:"killed_pids"`
Errors []string `json:"errors,omitempty"`
}
type KillRequest struct {
PID int `json:"pid"`
}
type KillResponse struct {
Success bool `json:"success"`
Message string `json:"message"`
}
type PSResponse struct {
Processes []ProcessInfo `json:"processes"`
}
type ProcessInfo struct {
PID int `json:"pid"`
Command string `json:"command"`
Started string `json:"started"`
}
type RunRequest struct {
Command string `json:"command"`
Args []string `json:"args,omitempty"`
}
type RunResponse struct {
Stdout string `json:"stdout"`
Stderr string `json:"stderr"`
ExitCode int `json:"exit_code"`
}
type StartRequest struct {
Command string `json:"command"`
Args []string `json:"args,omitempty"`
Singleton bool `json:"singleton,omitempty"`
}
type StartResponse struct {
PID int `json:"pid"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.