Next step might actually be the TUI! Or maybe the raw proxy, it would be nice to be able to just run the proxy.
15 lines
160 B
Go
15 lines
160 B
Go
package model
|
|
|
|
import "os/exec"
|
|
|
|
type Command struct {
|
|
Name string
|
|
Args []string
|
|
}
|
|
|
|
type Process struct {
|
|
Command Command
|
|
Exec *exec.Cmd
|
|
Running bool
|
|
}
|