MCPcopy
hub / github.com/dnote/dnote / Middleware

FuncType Middleware

pkg/server/middleware/middleware.go:25–25  ·  view source on GitHub ↗

Middleware is a middleware for request handlers

func(h http.Handler, app *app.App, rateLimit bool) http.Handler

Source from the content-addressed store, hash-verified

23
24// Middleware is a middleware for request handlers
25type Middleware func(h http.Handler, app *app.App, rateLimit bool) http.Handler
26
27// methodOverrideKey is the form key for overriding the method
28var methodOverrideKey = "_method"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected