Documentation
¶
Index ¶
- func NewHijackableClient(workerName string, db TransportDB, ...) retryhttp.HijackableClient
- func NewRoundTripper(workerName string, db TransportDB, innerRoundTripper http.RoundTripper) http.RoundTripper
- type ErrMissingWorker
- type ExponentialRetryPolicy
- type ReadCloser
- type RequestGenerator
- type RetryPolicy
- type RoundTripper
- type TransportDB
- type WorkerHijackStreamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHijackableClient ¶
func NewHijackableClient(workerName string, db TransportDB, innerHijackableClient retryhttp.HijackableClient) retryhttp.HijackableClient
func NewRoundTripper ¶
func NewRoundTripper(workerName string, db TransportDB, innerRoundTripper http.RoundTripper) http.RoundTripper
Types ¶
type ErrMissingWorker ¶
type ErrMissingWorker struct {
WorkerName string
}
func (ErrMissingWorker) Error ¶
func (e ErrMissingWorker) Error() string
type ExponentialRetryPolicy ¶
type RequestGenerator ¶
type RoundTripper ¶
type TransportDB ¶
type TransportDB interface {
GetWorker(string) (db.SavedWorker, bool, error)
}
type WorkerHijackStreamer ¶
type WorkerHijackStreamer struct { HttpClient *http.Client HijackableClient retryhttp.HijackableClient Req RequestGenerator }
instead of httpClient defined in default Garden HijackStreamer
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.