Categorygithub.com/raylin666/go-utils
modulepackage
1.4.5
Repository: https://github.com/raylin666/go-utils.git
Documentation: pkg.go.dev

# README

GO 项目通用组件包


auth 鉴权认证组件

cache 缓存组件

db 数据库组件

dingtalk 钉钉组件

encoder 编码器相关组件

errors 错误处理组件

http HTTP Server/Client 组件

logger 日志组件

mail 邮箱组件

middleware 中间件组件

rpc 远程调用组件

server 服务依赖相关组件(包括系统相关)

trace 链路追踪组件

upload 上传组件

validator 数据验证组件

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BcryptPasswordHash 密码加密.
BcryptPasswordVerify 密码验证.
CreateDirectory 判断目录是否存在,不存在则创建.
ExtractAddress returns a private addr and port.
ExtractHostPort from address.
GetLocalServerIp 获取本地服务器IP.
LoadYml 从指定路径加载yaml文件.
No description provided by the author
Port return a real port.