linux/events.go

19 lines
253 B
Go
Raw Permalink Normal View History

2024-11-03 17:10:34 +01:00
package linux
const (
EventOutput = iota
EventExit
)
type EventOutputData struct {
Output string
CmdOptions CommandOptions
}
type EventExitData struct {
HasSucceeded bool
ExitCode int
CmdOptions CommandOptions
Error string
}