code: func (c *MutableTLSCreds) loadNewTLSConfig(newConfig *tls.Config) error {
  	newSubject, err := GetAndValidateCertificateSubject(newConfig.Certificates)
  	if err != nil {
  		return err
  	}
  
  	c.Lock()
  	defer c.Unlock()
  	c.subject = newSubject
  	c.config = newConfig
  
  	return nil
  }
docs: // loadNewTLSConfig replaces the currently loaded TLS config with a new one