Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
config定义客户端的配置
func (Config) ToSecureOptions ¶
func (conf Config) ToSecureOptions(newSelfSignedTLSCert genTLSCertFunc) (*comm.SecureOptions, error)
ToSecureOptions将此配置转换为SecureOptions。 如果 配置中不存在TLS证书和密钥
Click to show internal directories.
Click to hide internal directories.