Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCiphers ¶
ParseCiphers returns a `[]uint16` by received `[]string` key that represents ciphers from crypto/tls. If some of ciphers in received list doesn't exists ParseCiphers returns nil with error
func ParseTLSVersion ¶
ParseTLSVersion returns a `uint16` by received version string key that represents tls version from crypto/tls. If version isn't supported ParseTLSVersion returns 0 with error
Types ¶
type ClientConfig ¶
type ClientConfig struct { UseTLS bool TLSCA string TLSCert string TLSKey string TLSKeyPwd string InsecureSkipVerify bool ServerName string TLSMinVersion string TLSMaxVersion string }
ClientConfig represents the standard client TLS config.
Click to show internal directories.
Click to hide internal directories.