You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nikkiing
0afec32205
|
2 years ago | |
---|---|---|
.idea | 2 years ago | |
encrypt/v1 | 2 years ago | |
enum | 2 years ago | |
glog | 2 years ago | |
meta/v1 | 2 years ago | |
pagination | 2 years ago | |
transport/v1 | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago |
README.md
utils通用包
安装
- 设置私有仓库
go env -w GOPRIVATE=gitea.drugeyes.vip
- 设置git
git config --global url."ssh://gitea@gitea.drugeyes.vip".insteadOf "https://gitea.drugeyes.vip"
- 拉取对应版本
go get gitea.drugeyes.vip/pharnexbase/utils@v1.0.0
通用包
pagination
-
v1
说明
transport:通用http Encoder
-
v1
请求和响应封装
- ResponseEncoder
meta:跨服务meta信息设置和获取
-
v1
跨服务meta信息设置和获取
- user(基础用户信息)
encrypt:对称加密
-
v1
对称加密,目前包含:SHA1PRNG