Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 2024 Changes in this version + var DisableEmbedCa = strconv.ParseBool(os.Getenv("DISABLE_EMBED_CA")) + var DisableSystemCa = strconv.ParseBool(os.Getenv("DISABLE_SYSTEM_CA")) + func AddCertificate(certificate string) error + func GetGlobalTLSConfig(tlsConfig *tls.Config) *tls.Config + func GetSpecifiedFingerprintTLSConfig(tlsConfig *tls.Config, fingerprint string) (*tls.Config, error) + func GetTLSConfig(tlsConfig *tls.Config, fingerprint string, customCA string, ...) (*tls.Config, error) + func ResetCertificate()