Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeHTTP ¶
func ServeHTTP(serve ServeWithContext) http.HandlerFunc
ServeHTTP create and returns a http.HandlerFunc, creates a context.Context and invokes the given function
Types ¶
type HTTPClientFacade ¶
HTTPClientFacade encapsulates HTTP methods
func NewHTTPClient ¶
func NewHTTPClient() HTTPClientFacade
NewHTTPClient creates a new HTTPClientFacade instance
type ServeWithContext ¶
ServeWithContext abstracts a context.Context aware function
Click to show internal directories.
Click to hide internal directories.