top

Package ctxhandler provides an interface and API similar to that of net/http's Handler, but which also contains a context from golang.org/x/net/context.

See this blog post by Joe Shaw for a good overview of the various options for context based handlers and why I chose this one: https://joeshaw.org/net-context-and-http-handler/

Imports 1 package(s) ΒΆ

  1. golang.org/x/net/context