// TLSConfig for including autocert manager
TLSConfig for including autocert manager
// TLSConfig for including autocert manager
func TLSConfig(domain string) *tls.Config {
	certManager := GetCertificate(domain)
	return &tls.Config{
		MinVersion:               tls.VersionTLS12,
		PreferServerCipherSuites: true,
		GetCertificate:           certManager.GetCertificate,
		CurvePreferences:         Curves,
		CipherSuites:             CipherSuites,
	}
}
func TLSConfig ( domain string ) * tls . Config { certManager := GetCertificate ( domain ) return & tls . Config { MinVersion : tls . VersionTLS12 , PreferServerCipherSuites : true , GetCertificate : certManager . GetCertificate , CurvePreferences : Curves , CipherSuites : CipherSuites , } }
TLSConfig for including autocert manager
TLSConfig for including autocert manager