(plainHTTP bool)
| 108 | } |
| 109 | |
| 110 | func WithPlainHTTP(plainHTTP bool) Option { |
| 111 | return func(opts *getterOptions) { |
| 112 | opts.plainHTTP = plainHTTP |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | // WithTimeout sets the timeout for requests |
| 117 | func WithTimeout(timeout time.Duration) Option { |
no outgoing calls
searching dependent graphs…