From: Simon Ruderich Date: Wed, 14 Apr 2021 07:06:19 +0000 (+0200) Subject: rpc: document ConnEventType constants X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d0b6605a165315b6758853f8751eeb568f560d5a;p=safcm%2Fsafcm.git rpc: document ConnEventType constants --- diff --git a/rpc/conn.go b/rpc/conn.go index c59bbd3..b2bcf28 100644 --- a/rpc/conn.go +++ b/rpc/conn.go @@ -42,10 +42,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 {