blob: 22f6c3cfb06ece894d53b6f78b1a03f9cfc10bfe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
package handler
import (
"net/http"
)
func (h *handler) Hearthbeat(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/plain")
w.WriteHeader(http.StatusOK)
_, _ = w.Write([]byte("."))
}
|