package
Version:
v0.3.5
Opens a new window with list of versions in this module.
Published: Jan 12, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewTLSConfig 根据 TLS 配置生成 *tls.Config。
type TLS struct {
CaCert string `json:"ca_cert"`
ClientCert string `json:"client_cert"`
ClientCertKey string `json:"client_cert_key"`
}
TLS TLS(双向)证书配置。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.