Gerasimos (Makis) Maropoulos
Gerasimos (Makis) Maropoulos
@ce-ankur If you use the default Iris logger you can get the logger instance through `golog.Default/golog.Debug/Info...` so you don't have dependency cycle.
Hello @gzxy-0102, this seems to be working, are you sure this has to do with Middleware? Can you share a code base so we can investigate it further? Thanks. That's...
Hello @gzxy-0102, I can't run your example without instructions as it fails to build and run. Can you please point me to the exact file:line that your middleare doesn't display...
Hello @beifeng778 I ran your example and it seems that there is no issue here, the response is: `John, Peter are awesome.She is awesome!other (She) has 5 houses.` Can you...
Hello @mark2b, The **iris/middleware/jwt** package allows passing header validators on two spots: 1. through its `NewVerifier` function, which is used to create token verifier. See its last argument at: https://github.com/kataras/iris/blob/79404f91c138cb042c747ef95f4974d8f599236b/middleware/jwt/verifier.go#L89...
You don't have to set the compression manually because Iris sees what algorithm the client-side is asking/supporting and based on that information, the server-side data are compressed and sent to...
Hello @monstrum, I am trying to see the issue, my code example is running as expected. Could you please provide me a full example over a github repository (or upload...
Hello @monstrum, There is a godoc note saying the expliticity of POST-only HTTP requests at the `mvc/grpc.go` file itself: https://github.com/kataras/iris/blob/1efbcabfce68fd199070bf1ae876eb1b740b1dad/mvc/grpc.go#L15 Did you try to place an `app.AllowMethods(iris.MethodGet, iris.MethodPost)` before `mvc.GRPC`...
@monstrum if you aren't going to serve gRPC through HTTP bridge, then you don't really need mvc.GRPC at all - you can serve it directly through raw tcp. However, if...
Hello @PalaChen, this is a general Go question. Please check the standard `html/template`'s [template.HTML](https://pkg.go.dev/html/template#HTML), [template.URL](https://pkg.go.dev/html/template#URL), [template.CSS](https://pkg.go.dev/html/template#CSS) and [template.JS](https://pkg.go.dev/html/template#JS) - they are used to pass "unsecure" 3rd-party html contents into templates.