module
Version:
v0.3.6
Opens a new window with list of versions in this module.
Published: Jan 15, 2026
License: MIT
Opens a new window with license information.
README
¶
Go Utils
通用工具库集合。
模块列表
安装
go get github.com/fireflycore/go-utils
TLSX 快速示例
tlsConfig, enabled, err := tlsx.NewTLSConfig(&tlsx.TLS{
CaCert: "/path/to/ca.pem",
ClientCert: "/path/to/client.pem",
ClientCertKey: "/path/to/client.key",
})
if err != nil {
return err
}
if enabled {
_ = tlsConfig
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.