Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertManager ¶
type CertManager struct {
// contains filtered or unexported fields
}
CertManager handles certificate generation and management
func NewCertManager ¶
func NewCertManager(certDir string) (*CertManager, error)
NewCertManager creates a new certificate manager
func (*CertManager) GetClientTLSConfig ¶
func (cm *CertManager) GetClientTLSConfig() *tls.Config
GetClientTLSConfig returns TLS config for client
func (*CertManager) GetServerTLSConfig ¶
func (cm *CertManager) GetServerTLSConfig() *tls.Config
GetServerTLSConfig returns TLS config for server
Click to show internal directories.
Click to hide internal directories.