Versions in this module Expand all Collapse all v1 v1.0.0 Mar 3, 2023 Changes in this version + func AttemptSecured(url string, allowInSecure bool) bool + func IsTLSEnabled(url string) bool + func ToAddress(url string) string + type MutualTLSConfig struct + Client TLSKeyPair + Path string + Pem []string + type TLSConfig struct + Path string + Pem string + func (cfg *TLSConfig) Bytes() []byte + func (cfg *TLSConfig) LoadBytes() error + func (cfg *TLSConfig) TLSCert() (*x509.Certificate, bool, error) + type TLSKeyPair struct + Cert TLSConfig + Key TLSConfig