Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTLSALPNHandshakeFailed = errors.New("alpn handshake failed, retrying with ALPN disabled") ErrNoTLSHandshakeFailed = errors.New("no TLS handshake") )
Functions ¶
func AsTLSHandshakeError ¶
AsTLSHandshakeError maps specific error strings to their corresponding TLS handshake error constants.
func NewTLSWithALPNDisabled ¶
func NewTLSWithALPNDisabled(c *tls.Config, logger *zap.Logger) credentials.TransportCredentials
NewTLSWithALPNDisabled uses c to construct a TransportCredentials based on TLS. ALPN verification is disabled.
Types ¶
type AuthProperties ¶
Click to show internal directories.
Click to hide internal directories.