Files
mstore/app/handler/notfound.go
T
2026-02-03 11:55:07 +02:00

13 lines
253 B
Go

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