statping/handlers/misc.go

11 lines
189 B
Go
Raw Normal View History

2018-06-30 00:57:05 +00:00
package handlers
import (
"net/http"
)
func Error404Handler(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotFound)
ExecuteResponse(w, r, "error_404.html", nil)
}