/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.joeshaw.org
| | www.neerajsidhaye.com

GO middleware as the name suggests, sits between Go webserver( to be precise "router") and application handler and it works like a filters, similar to what we have in J2EE application for pre and/or post processing of request. Let's hands on with Go Middleware...
1.4 parsecs

Travel
| |
| | matttproud.com

Pop quiz, hot shot: what is the behavior of func f (as defined below) when it is called from a bare gRPC method or HTTP handler as go f(ctx) using the context.Context provided to the handler?1 1 2 3 4 5 6 7 8 9 10 11 func f(ctx context.Context) { // Flimsily make it improbable for this function to continue while the // handler is serving. time.Sleep(time.Second) select { case <-time.
2.1 parsecs

Travel
| |
| | pauladamsmith.com

This is a simple and easily generalizable way to put an upper-bound on the maximum number of simultaneous clients to a Go net/http server or handler. The idea is to use a counting semaphore, modeled with a buffered channel, to cause new clients to...
1.7 parsecs

Travel
| |
| | geriatrixfotogallerie.wordpress.com

One Word Sunday: round
18.1 parsecs

Travel
|