go-utils

module
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: MIT

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

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL