X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=rpc%2Fconn.go;h=65226121b3e1006586335d37ed99b20ac0d6813a;hb=825f928d824f728088606bcbf112d30d7a76f627;hp=c59bbd323272b50b150fa5d6671d61bdf022b800;hpb=f2f2bc47e8729548f3c10117f7f008b547c4afc5;p=safcm%2Fsafcm.git diff --git a/rpc/conn.go b/rpc/conn.go index c59bbd3..6522612 100644 --- a/rpc/conn.go +++ b/rpc/conn.go @@ -33,7 +33,8 @@ type Conn struct { eventsWg sync.WaitGroup debug bool - remote string + sshRemote string + sshOpts []string cmd *exec.Cmd conn *safcm.GobConn @@ -42,10 +43,10 @@ type Conn struct { 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 {