Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertCache ¶
CertCache caches certificates and CA pool.
func NewCertCache ¶
NewCertCache creates and starts the certificate cache that watches Activators certificate.
func (*CertCache) GetCertificate ¶
func (cr *CertCache) GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error)
GetCertificate returns the cached certificates.
func (*CertCache) TLSContext ¶ added in v0.39.0
func (cr *CertCache) TLSContext() pkgnet.DialTLSContextFunc
TLSContext returns DialTLSContextFunc.
Click to show internal directories.
Click to hide internal directories.