module
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Jul 31, 2024
License: MIT
Opens a new window with license information.
README
¶
common
常用的方法整理与收集的库,主要目的是为了代码复用,提升工作效率
使用文档
使用场景
结构
- httpMiddleware http中间件
- log 日志打印
- conf 配置的读取
- utils 实用方法
- sshClient ssh相关的方法,常用与我写本地脚本操作线上服务的相关工作
- mysqlClient mysql客户端常用方法
- redisClient redis客户端常用方法
- mq 消息队列常用方法
- osd 对象存储
说明
这是一个不断迭代,不断增加方法的一个库,涉及到我个人经历的开发工作中遇到的可复用代码,这个库帮助我提升了大量工作效率,
该库+gin+vue两天写了一个运营操作平台,用于生产当中,目前稳定运行。
Task
- 使用 golang.org/x/time/rate 做限流中间件
- 对象存储 阿里,腾讯,minio
- 文档生成(excel,pdf,word)
- examples gin+common 基础实例
- 增加使用文档
- 增加使用实例
TODO
- grpc
- tcp
- udp
- pdf
- http client
- 三方登录(三方授权)
- 三方支付
- 三方短信
- 发送邮件
- 钉钉对接
Directories
¶
_examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.