]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
rpc: document ConnEventType constants
authorSimon Ruderich <simon@ruderich.org>
Wed, 14 Apr 2021 07:06:19 +0000 (09:06 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 14 Apr 2021 11:30:32 +0000 (13:30 +0200)
rpc/conn.go

index c59bbd323272b50b150fa5d6671d61bdf022b800..b2bcf28a05025317c729136cc7680579dffcfe36 100644 (file)
@@ -42,10 +42,10 @@ type Conn struct {
 type ConnEventType int
 
 const (
 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 {
 )
 
 type ConnEvent struct {