HasCertCallbacks returns whether the configuration has certificate callback or not.
()
| 98 | |
| 99 | // HasCertCallbacks returns whether the configuration has certificate callback or not. |
| 100 | func (c *Config) HasCertCallback() bool { |
| 101 | return c.TLS.GetCert != nil |
| 102 | } |
| 103 | |
| 104 | // Wrap adds a transport middleware function that will give the caller |
| 105 | // an opportunity to wrap the underlying http.RoundTripper prior to the |
no outgoing calls
no test coverage detected