WithInsecureSkipTLSVerify determines if a TLS Certificate will be checked
(insecureSkipTLSVerify bool)
| 61 | |
| 62 | // WithInsecureSkipTLSVerify determines if a TLS Certificate will be checked |
| 63 | func WithInsecureSkipTLSVerify(insecureSkipTLSVerify bool) PushOpt { |
| 64 | return func(p *Push) { |
| 65 | p.insecureSkipTLSVerify = insecureSkipTLSVerify |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | // WithPlainHTTP configures the use of plain HTTP connections. |
| 70 | func WithPlainHTTP(plainHTTP bool) PushOpt { |
no outgoing calls
searching dependent graphs…