Gerasimos (Makis) Maropoulos
Gerasimos (Makis) Maropoulos
Hello @2802402118, just to know, if you still want to modify the underline routes while server is up and running, you can use the new `EnableDynamicHandler/WithDynamicHandler` setting . Example: ```go...
And I totally agree with it @2802402118!
Hello @chaodoing, can you please post the source code in order to be able to reproduce it?
Hello @seventeenman, If you have multiple Iris instances listening on different ports, you can use their `appX.Shutdown()` method to terminate the servers, also you may want to check the [apps...
Hello @ezewu I don't know what version of sse you used, please follow the example below: ```go package main import ( "time" "github.com/kataras/iris/v12" "github.com/r3labs/sse/v2" ) // $ go get github.com/r3labs/sse/[email protected]...
Hello @trungdlp-wolffun, upgrade Iris with `go get github.com/kataras/iris/v12@main` and you can try `Logger().Install` method as shown below: ```go package main import ( "log/slog" "os" "github.com/kataras/iris/v12" ) func main() { logger...
Hello @lilili87222, what do you mean it doesn't work? I am able to verify it and it seems to be working, can you post me a full example to re-produce...
Hello @andotorg, The `app.ContextPool` is available on pre-v12 releases, was removed on v12. You can customize the context's write methods using the iris.Patches().Context().Writers(). builder or, upgrade with `go get github.com/kataras/iris/v12@main`...
Hello @langzishen, I see page not found for https://github.com/langzishen/iris_demo and I can't help you without full code example :/
Hello @ce-ankur did you try? ```go func myHandler(ctx iris.Context) { logger := ctx.Application().Logger() // work with "logger" instance... } ```