VividCortex / siesta

Composable framework for writing HTTP handlers in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider context/Context

Preetam opened this issue · comments

Using https://golang.org/x/net/context is probably a good direction to move in. It should be moving into the standard library too (golang/go#14660).

Go 1.7 introduced context.Context to http.Request.
https://golang.org/pkg/net/http/#Request.Context