Ibraheem Ahmed

Results 207 comments of Ibraheem Ahmed

Couldn't this be added as a config option on `Collector`, and maybe make it atomic so the global collector's can be updated?

It is not lock-free in terms of progress, I think that should be documented whether or not the implementation decides it's an issue.

@jcdickinson `poll_accept` can be implemented easily with `poll_readable` and reading from the underlying `std::TcpListener`.

2. What is the difference between this port and the C++ library? (https://github.com/google/leveldb) @syndtr I had a similar question. Was this more of a "word for word" translation, or were...

You can look at the [authboss client state](https://github.com/volatiletech/authboss-clientstate), which is an implementation of the `SessionState` and `CookieState` storage configuration objects using the Gorilla [Securecookie](https://github.com/gorilla/securecookie) and [Sessions](https://github.com/gorilla/sessions) packages. That repo should...

I'm not familiar with Fiber or FastHTTP context, but it should be as simple as creating wrapper functions to satisfy the `ClientStateReadWriter` Interface. I'll try to look into it when...

@thomasvvugt Have you looked into [`fasthttpadaptor`](https://pkg.go.dev/github.com/valyala/fasthttp/fasthttpadaptor)? It allows you to convert net/http requests to fasthttp (fiber) requests. Something like this: ```go import ( "github.com/gofiber/fiber" "github.com/valyala/fasthttp/fasthttpadaptor" "net/http" ) ... g.Get("/", WrapHandler(pprof.Index))...

Well, this seems to work: ```go func main() { // New fiber app app := fiber.New() app.Get("/ping", adaptor.HTTPHandler(logMiddleware(adaptor.FiberHandler(ping)))) // Listen on port 3000 app.Listen(":3000") } func ping(c *fiber.Ctx) error {...