Vojtech Vitek (golang.cz)
Vojtech Vitek (golang.cz)
@Neurostep can you help review this please?
@eteran I agree. Feel free to submit a PR.
Any other volunteers to look into this? Or should we close?
Each middleware that needs to get information from downstream handlers needs to create their own storage in the context, e.g. a pointer to a value, that will be dereferenced and...
@koote Yes, exactly. An example from a recent HTTP logger prototype: 1. Set context storage in top-level middleware: https://github.com/golang-cz/httplog/blob/da3963e3a9a0f42e74933eb1ddb9bd4d03a47e21/logger.go#L87 2. And then later you can write to that storage from...
Hi, yes, the https://github.com/go-chi/cors repo is still maintained. We will review the PRs once our busy schedules allow it. Please, consider sponsoring the authors to bump up priority. Thank you...
Perhaps a better approach would be to introduce a hook on first written byte, e.g. ```go start := time.Now() var firstByteWritten time.Time ww := middleware.NewWrapResponseWriter(w, r.ProtoMajor) ww.OnWriteHeader(func(statusCode int) { firstByteWritten...
Ahoj @lzap, Can you `go install` webrpc-gen per steps provided in the [release page](https://github.com/webrpc/webrpc/releases), e.g. ``` go install -ldflags="-s -w -X github.com/webrpc/webrpc.VERSION=v0.18.6" github.com/webrpc/webrpc/cmd/[email protected] ``` ? Alternatively, you can `go get`...
Hey, I'll get back to this once I have some free time. I'm swamped with product work now :)
Hello, I'm sorry. I'm too busy with other work right now -- but eventually I'll get back to this PR. Since this feature caused regressions last time we merged it,...