Documentation ¶
Overview ¶
Package urlfetch provides a way for an application to get http.RoundTripper that can make outbound HTTP requests. If used for https:// protocol, will always validate SSL certificates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(c context.Context) http.RoundTripper
Get pulls http.RoundTripper implementation from context or panics if it wasn't set. Use SetFactory(...) or Set(...) in unit tests to mock the round tripper.
Types ¶
Click to show internal directories.
Click to hide internal directories.