Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenTLSConfig ¶
func GenerateTLSForClient ¶
func GenerateTLSForClient( Opts *TlsConfigurationOptions, ) (*tls.Config, error)
Types ¶
type TlsConfigurationOptions ¶
type TlsConfigurationOptions struct {
SkipCertVerify bool `json:"insecureSkipVerify"`
CertificationRaw string `json:"certificationRaw"`
PrivateKeyRaw string `json:"privateKeyRaw"`
RootCARaw string `json:"rootCARaw"`
CertFile string `json:"certificationPath"`
KeyFile string `json:"privateKeyPath"`
CaFile string `json:"rootCaPath"`
TLSMinVersion string `json:"tlsMinVersion"`
RenegotiationSupport string `json:"renegotiationSupport"`
// contains filtered or unexported fields
}
func (*TlsConfigurationOptions) TlsConfigLog ¶
func (opts *TlsConfigurationOptions) TlsConfigLog(typ string)
Click to show internal directories.
Click to hide internal directories.