@@ -0,0 +1,16 @@
+// Copyright (c) 2018 IoTeX
+// This is an alpha (internal) release and is not suitable for production. This source code is provided 'as is' and no
+// warranties are given as to title or non-infringement, merchantability or fitness for purpose and, to the extent
+// permitted by law, all liability for your use of the code is disclaimed. This source code is governed by Apache
+// License 2.0 that can be found in the LICENSE file.
+
+package itx
+
+import "net/http"
+
+func registerHealthCheckMux(root *http.ServeMux) {
+	root.Handle("/health/", http.StripPrefix("/health", func(w http.ResponseWriter, r *http.Request) {
+		w.WriteHeader(http.StatusOK)
+		w.Write([]byte("OK"))
+	}))
+}
cannot use (func(w http.ResponseWriter, r *http.Request) literal) (value of type func(w net/http.ResponseWriter, r *net/http.Request)) as net/http.Handler value in argument to http.StripPrefix: missing method ServeHTTP (from `typecheck`)