Documentation ¶
Overview ¶
Package tls support tls management
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientHelloInfo ¶
func ClientHelloInfo(sni string) *tls.ClientHelloInfo
ClientHelloInfo get tls ClientHelloInfo
Types ¶
type ConfigType ¶
type ConfigType int
ConfigType is a tls config type
const ( // ConfigTypeServer is a tls config type for server ConfigTypeServer ConfigType = iota // ConfigTypeClient is a tls config type for client ConfigTypeClient ConfigType = iota )
Click to show internal directories.
Click to hide internal directories.