summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-27 08:10:19 -0500
committerJeff Carr <[email protected]>2024-10-27 08:10:19 -0500
commitd38865a6cf3d9e11803e9f565a0dd0c763de479d (patch)
tree98dcb257089a3fb117a9872a7d08691e85917760 /http.go
parent7288595efc0c029adf33f7b3edd4627810ccb0ca (diff)
maybe fix duplicates? this isn't really safe probably
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'http.go')
-rw-r--r--http.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/http.go b/http.go
index 629b973..937f9a7 100644
--- a/http.go
+++ b/http.go
@@ -102,7 +102,9 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
result, err := Start(hostname)
if err == nil {
fmt.Fprintln(w, result)
- fmt.Fprintln(w, hostname, "started ok")
+ fmt.Fprintln(w, hostname, "started output ok")
+ fmt.Fprintln(w, hostname, "need to parse the output here")
+ fmt.Fprintln(w, hostname, "todo: switch to protobuf here")
} else {
fmt.Fprintln(w, result)
fmt.Fprintln(w, err)