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

Function ShowMiddlewares

example/middleware/main.go:55–58  ·  view source on GitHub ↗
(ctx dotweb.Context)

Source from the content-addressed store, hash-verified

53}
54
55func ShowMiddlewares(ctx dotweb.Context) error {
56 err := ctx.WriteString("ShowMiddlewares => ", ctx.RouterNode().GroupMiddlewares())
57 return err
58}
59
60func InitRoute(server *dotweb.HttpServer) {
61 server.Router().GET("/", Index)

Callers

nothing calls this directly

Calls 3

WriteStringMethod · 0.65
GroupMiddlewaresMethod · 0.65
RouterNodeMethod · 0.65

Tested by

no test coverage detected