events chan<- ConnEvent // same as Events, to publish events
eventsWg sync.WaitGroup
- debug bool
- remote string
+ debug bool
+ sshRemote string
+ sshOpts []string
cmd *exec.Cmd
conn *safcm.GobConn
type ConnEventType int
const (
- _ ConnEventType = iota
- ConnEventStderr
- ConnEventDebug
- ConnEventUpload
+ _ ConnEventType = iota
+ ConnEventStderr // stderr from spawned process
+ ConnEventDebug // debug message
+ ConnEventUpload // remote helper upload in progress
)
type ConnEvent struct {