Documentation ¶
Index ¶
- func NewHijackableClient(workerName string, db TransportDB, ...) retryhttp.HijackableClient
- func NewRoundTripper(workerName string, workerHost string, db TransportDB, ...) http.RoundTripper
- type ErrMissingWorker
- type ReadCloser
- type RequestGenerator
- 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, workerHost 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 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
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.