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

Method UseRequestLog

dotweb.go:264–266  ·  view source on GitHub ↗

UseRequestLog register RequestLogMiddleware

()

Source from the content-addressed store, hash-verified

262
263// UseRequestLog register RequestLogMiddleware
264func (app *DotWeb) UseRequestLog() {
265 app.Use(&RequestLogMiddleware{})
266}
267
268// UseTimeoutHook register TimeoutHookMiddleware
269func (app *DotWeb) UseTimeoutHook(handler StandardHandle, timeout time.Duration) {

Callers

nothing calls this directly

Calls 1

UseMethod · 0.95

Tested by

no test coverage detected