WithTLSClientConfig sets the client auth with the provided credentials.
(certFile, keyFile, caFile string)
| 100 | |
| 101 | // WithTLSClientConfig sets the client auth with the provided credentials. |
| 102 | func WithTLSClientConfig(certFile, keyFile, caFile string) Option { |
| 103 | return func(opts *getterOptions) { |
| 104 | opts.certFile = certFile |
| 105 | opts.keyFile = keyFile |
| 106 | opts.caFile = caFile |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | func WithPlainHTTP(plainHTTP bool) Option { |
| 111 | return func(opts *getterOptions) { |
no outgoing calls
searching dependent graphs…