iris
iris copied to clipboard
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
**Describe the bug** For the "github.com/kataras/iris/v12/middleware/pprof" middleware, * `/debug/pprof/profile` * `/debug/pprof/trace` * `/debug/pprof/cmdline` endpoints return 404 Not Found with body `Unknown profile`. **To Reproduce** Just include the pprof middleware in...
Examples for the Iris project can be found at . Documentation for the Iris project can be found at . Love iris? Please consider supporting the project: 👉 https://iris-go.com/donate Care...
**Is your feature request related to a problem? Please describe.** code:https://github.com/kataras/iris/blob/master/core/router/api_builder.go#L89 Why do you not use map when you register a route to check whether the route exists?If there are...
**Describe the bug** I want to combine multiple routes with slashes into a single parameter, like `/*/suffix` or `/**/suffix`, and `/a/suffix`, `ab/cd/suffix`, `a1/b2/c3/d-4/suffix` can match the rule, but it seems...
Condition: I want to use iris's http basic auth feature to add login function to my web service. The procedure I expect is as follow: a. user visit my web...
I need to serve a static directory which passed by users after the program starts, I tried `CreateRoutes` but it didn't work. Is there any way to achieve this requirement?
**Describe the bug** accesslog: BodyMinify = true && ResponseBody = true will be change response json value **To Reproduce** Steps to reproduce the behavior: ``` package main import ( "github.com/kataras/iris/v12"...
code snippet: ```go app := iris.New() ac := accesslog.File("./access.log") ac.TimeFormat = "2006-01-02 15:04:05.000" ac.Async = true ac.ResponseBody = true app.UseRouter(ac.Handler) app.Get("/proxy/{p:path}", func(ctx iris.Context) { targetPath := ctx.Params().Get("p") u, _ :=...
https://github.com/kataras/iris/issues/1735#issue-817017910 please check it out @kataras
hi @kataras , another question here ! this case can remove handler successful ```golang func Route(r router.Party) { r.Use(middleware.Foo) r.Get("/foo", ctrl.Index).RemoveHandler(middleware.Foo) } ``` but this case failed ```golang func Route(r...