WithPlainHTTP configures the use of plain HTTP connections.
(plainHTTP bool)
| 68 | |
| 69 | // WithPlainHTTP configures the use of plain HTTP connections. |
| 70 | func WithPlainHTTP(plainHTTP bool) PushOpt { |
| 71 | return func(p *Push) { |
| 72 | p.plainHTTP = plainHTTP |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // WithPushOptWriter sets the registryOut field on the push configuration object. |
| 77 | func WithPushOptWriter(out io.Writer) PushOpt { |
no outgoing calls
searching dependent graphs…