Skip to content

Commit

Permalink
hello endpoint not dependent on there being more than 1 api at load
Browse files Browse the repository at this point in the history
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

joshblakeley authored and buger committed Jan 12, 2018
1 parent 2580fd3 commit 8463480
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1471,4 +1471,8 @@ func listen(l, controlListener net.Listener, err error) {
log.WithFields(logrus.Fields{
"prefix": "main",
}).Info("--> PID: ", hostDetails.PID)

mainRouter.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello Tiki")
})
}

0 comments on commit 8463480

Please sign in to comment.