Files
mstore/app/handler/notfound.go
T
2026-02-05 17:49:31 +02:00

13 lines
255 B
Go

package handler
import (
"net/http"
"mstore/app/router"
)
func (hand *Handler) NotFound(rctx *router.Context) {
hand.logg.Warningf("Route for [%s %s] not found", rctx.Request.Method, rctx.Request.URL.String())
rctx.SetStatus(http.StatusNotFound)
}