From 6f80e06c4a92ccdcefcea0f36811edb292c315bd Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 24 Apr 2019 11:49:29 +0900 Subject: [PATCH] =?UTF-8?q?Vue=EC=9D=98=20json=20=ED=8C=8C=EC=8B=B1=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EB=B0=A9=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go/src/fullcycle/do-iperf/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go/src/fullcycle/do-iperf/main.go b/go/src/fullcycle/do-iperf/main.go index fee93ac..5b42100 100644 --- a/go/src/fullcycle/do-iperf/main.go +++ b/go/src/fullcycle/do-iperf/main.go @@ -8,6 +8,7 @@ import ( "log" "os" "os/exec" + "time" ) func main() { @@ -58,5 +59,7 @@ func test(code, host string, out io.Writer) { } } + time.Sleep(1) + fmt.Fprintf(out, "{\"%v\": {\"progress\": 100, \"result\": \"\"}}\n", code) } -- 2.1.4