top

Package internal provides internal APIs used by the bosh package.

In particular it provides ContextHelper, 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/

It also provides a reverse priority queue implementation used for sending payloads in order.

Imported by 1 package(s)

  1. bitbucket.org/mellium/bosh

Imports 1 package(s)

  1. golang.org/x/net/context