(ctx dotweb.Context)
| 36 | } |
| 37 | |
| 38 | func Index(ctx dotweb.Context) error { |
| 39 | ctx.Response().Header().Set("Content-Type", "text/html; charset=utf-8") |
| 40 | flag := ctx.HttpServer().Router().MatchPath(ctx, "/d/:x/y") |
| 41 | return ctx.WriteString("index - " + ctx.Request().Method + " - " + ctx.RouterNode().Path() + " - " + fmt.Sprint(flag)) |
| 42 | } |
| 43 | |
| 44 | func Any(ctx dotweb.Context) error { |
| 45 | ctx.Response().Header().Set("Content-Type", "text/html; charset=utf-8") |
nothing calls this directly
no test coverage detected