(insecureSkipTLSVerify bool)
| 34 | type TLSConfigOption func(options *TLSConfigOptions) error |
| 35 | |
| 36 | func WithInsecureSkipVerify(insecureSkipTLSVerify bool) TLSConfigOption { |
| 37 | return func(options *TLSConfigOptions) error { |
| 38 | options.insecureSkipTLSVerify = insecureSkipTLSVerify |
| 39 | |
| 40 | return nil |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func WithCertKeyPairFiles(certFile, keyFile string) TLSConfigOption { |
| 45 | return func(options *TLSConfigOptions) error { |
no outgoing calls
searching dependent graphs…