backend: /health handler for backplane

This commit is contained in:
Cadey Ratio 2017-01-09 18:31:33 -08:00
parent 77625d0878
commit 8e2c2dbe18
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ func init() {
}
func main() {
http.HandleFunc("/health", func(w http.ResponseWriter, r *http.Request) {})
http.HandleFunc("/api/blog/posts", writeBlogPosts)
http.HandleFunc("/api/blog/post", func(w http.ResponseWriter, r *http.Request) {
q := r.URL.Query()