通用包
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 4bd2709c04 pkg 2 years ago
.idea first commit 2 years ago
encrypt/v1 添加对称加密和meta信息,补充readme 2 years ago
enum add pagination.pb.go 2 years ago
glog eslogger 2 years ago
meta/v1 添加对称加密和meta信息,补充readme 2 years ago
pagination 修改分页 2 years ago
pkg pkg 2 years ago
transport/v1 responseEncoder添加通用文件下载响应 2 years ago
.gitignore gitignore 2 years ago
README.md responseEncoder添加通用文件下载响应 2 years ago
go.mod env和日志 2 years ago
go.sum env和日志 2 years ago

README.md

utils通用包

安装

  1. 设置私有仓库
go env -w GOPRIVATE=gitea.drugeyes.vip
  1. 设置git
git config --global url."ssh://gitea@gitea.drugeyes.vip".insteadOf "https://gitea.drugeyes.vip"
  1. 拉取对应版本
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