WithTLSClientConfig sets the client auth with the provided credentials.
(certFile, keyFile, caFile string)
| 49 | |
| 50 | // WithTLSClientConfig sets the client auth with the provided credentials. |
| 51 | func WithTLSClientConfig(certFile, keyFile, caFile string) Option { |
| 52 | return func(opts *options) { |
| 53 | opts.certFile = certFile |
| 54 | opts.keyFile = keyFile |
| 55 | opts.caFile = caFile |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | // WithInsecureSkipTLSVerify determines if a TLS Certificate will be checked |
| 60 | func WithInsecureSkipTLSVerify(insecureSkipTLSVerify bool) Option { |
no outgoing calls
searching dependent graphs…