backend: /health handler for backplane
This commit is contained in:
parent
77625d0878
commit
8e2c2dbe18
|
@ -102,6 +102,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
http.HandleFunc("/health", func(w http.ResponseWriter, r *http.Request) {})
|
||||||
http.HandleFunc("/api/blog/posts", writeBlogPosts)
|
http.HandleFunc("/api/blog/posts", writeBlogPosts)
|
||||||
http.HandleFunc("/api/blog/post", func(w http.ResponseWriter, r *http.Request) {
|
http.HandleFunc("/api/blog/post", func(w http.ResponseWriter, r *http.Request) {
|
||||||
q := r.URL.Query()
|
q := r.URL.Query()
|
||||||
|
|
Loading…
Reference in New Issue