Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFoundProcess = ProcessError{"Can't not find the process by name"} ErrTooManySameNameProcess = ProcessError{"Too many processes with the same name"} )
Process
View Source
var (
ErrProcessPidMustNotNil = CmdError{"Because there are multiple processes with the same name, the PID is not allowed to be null"}
)
Cmd
Functions ¶
Types ¶
type ProcessError ¶
type ProcessError struct {
Message string
}
func (ProcessError) Error ¶
func (e ProcessError) Error() string
Click to show internal directories.
Click to hide internal directories.