Add docs block

Signed-off-by: Matthias Fehr <matthias@monostream.com>
(cherry picked from commit 2acda0cc5b)
release-3.8
Matthias Fehr 3 years ago committed by Matt Farina
parent ab4dc7861b
commit 65b6e6d1ca
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -121,6 +121,7 @@ func WithUntar() Option {
} }
} }
// WithTransport sets the http.Transport to allow overwriting the HTTPGetter default.
func WithTransport(transport *http.Transport) Option { func WithTransport(transport *http.Transport) Option {
return func(opts *options) { return func(opts *options) {
opts.transport = transport opts.transport = transport

Loading…
Cancel
Save