func (cw *CertFileWatcher) GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error) {
	cw.certificateMu.RLock()
	defer cw.certificateMu.RUnlock()
	return cw.certificate, nil
}
// GetCertificate gets the underlying certificate in the form that tls config expects.
GetCertificate gets the underlying certificate in the form that tls config expects.
// GetCertificate gets the underlying certificate in the form that tls config expects .
func (cw *CertFileWatcher) GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error) {
	cw.certificateMu.RLock()
	defer cw.certificateMu.RUnlock()
	return cw.certificate, nil
}
func ( cw * CertFileWatcher ) GetCertificate ( _ * tls . ClientHelloInfo ) ( * tls . Certificate , error ) { cw . certificateMu . RLock ( ) defer cw . certificateMu . RUnlock ( ) return cw . certificate , nil }
GetCertificate gets the underlying certificate in the form that tls config expects.
GetCertificate gets the underlying certificate in the form that tls config expects .