Add docs block

Signed-off-by: Matthias Fehr <matthias@monostream.com>
pull/10568/head
Matthias Fehr 2 years ago
parent 45367ca9bf
commit 2acda0cc5b

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

Loading…
Cancel
Save