Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientTLSConfig ¶
func GetPassphase ¶
func GetPassphase() (decrypt string)
func GetSSLPath ¶
func GetServerTLSConfig ¶
Types ¶
type DefaultTLS ¶
type DefaultTLS struct { }
DefaultTLS support new the *tls.Config object from certs and private key with password
func (*DefaultTLS) ClientConfig ¶
func (c *DefaultTLS) ClientConfig() (*tls.Config, error)
func (*DefaultTLS) ServerConfig ¶
func (c *DefaultTLS) ServerConfig() (*tls.Config, error)
Click to show internal directories.
Click to hide internal directories.