MCPcopy Create free account
hub / github.com/devfeel/dotweb / HTTPNotFound

Function HTTPNotFound

dotweb.go:689–691  ·  view source on GitHub ↗

HTTPNotFound simple notfound function for Context

(ctx Context)

Source from the content-addressed store, hash-verified

687
688// HTTPNotFound simple notfound function for Context
689func HTTPNotFound(ctx Context) {
690 http.NotFound(ctx.Response().Writer(), ctx.Request().Request)
691}
692
693// DefaultNotFoundHandler default exception handler
694func DefaultNotFoundHandler(ctx Context) {

Callers 1

FileMethod · 0.85

Calls 3

WriterMethod · 0.80
ResponseMethod · 0.65
RequestMethod · 0.65

Tested by

no test coverage detected