Discover Packages
github.com/xhd2015/kool
tools
bash
server
model
package
Version:
v0.0.67
Opens a new window with list of versions in this module.
Published: Jul 31, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1 module, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
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.