Documentation ¶
Overview ¶
Package roundtripper has implementations of http.RoundTripper useful to clients.RepoClient.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCensusTransport ¶
func MakeCensusTransport(innerTransport http.RoundTripper) http.RoundTripper
MakeCensusTransport wraps input Roundtripper with monitoring logic.
func MakeRateLimitedTransport ¶
func MakeRateLimitedTransport(innerTransport http.RoundTripper, logger *log.Logger) http.RoundTripper
MakeRateLimitedTransport returns a RoundTripper which rate limits GitHub requests.
func NewTransport ¶
NewTransport returns a configured http.Transport for use with GitHub.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.