mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-30 10:56:20 +02:00
10 lines
219 B
Go
10 lines
219 B
Go
package handler
|
|
|
|
import "net/http"
|
|
|
|
func (h *Handler) Ping(w http.ResponseWriter, r *http.Request) error {
|
|
w.Header().Set("Content-Type", "text/plain")
|
|
w.WriteHeader(http.StatusOK)
|
|
w.Write([]byte("."))
|
|
return nil
|
|
}
|