Categorygithub.com/xwc1125/xwc1125-pkg
repositorypackage
0.1.3
Repository: https://github.com/xwc1125/xwc1125-pkg.git
Documentation: pkg.go.dev

# 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
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
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

# README

xwc1125-pkg

简介

xwc1125-pkg golang通用库

功能

  • freecache
  • captcha
  • copier: copy struct to struct
  • mysql: gorm & xorm
  • es
  • kafka
  • redis
  • sqlite
  • email
  • di 基于反射实现依赖注入
  • goinject: fx依赖注入
  • hashring 哈希环
  • jwtauth
  • ldap
  • otp 二次认证
  • pprof二次封装
  • rbac
  • secure
    • checkurl 校验URL的合法性,用于防止跳转漏洞、SSRF漏洞
    • ddm 动态数据掩码,防止敏感数据暴露
    • ipfilter ip过滤
    • password 对密码进行混淆加密
    • safecurl 安全的http请求,防止SSRF
    • shift 位移算法
    • ssrf 判断url是否会触发ssrf
  • snowflake 雪花算法
  • ssh
  • util
  • validator
  • version 版本管理
  • watemark 添加水印

使用

获取包 go get github.com/xwc1125/xwc1125-pkg

证书

xwc1125-pkg 的源码允许用户在遵循 Apache 2.0 开源证书 规则的前提下使用。

版权

Copyright@2022 xwc1125

xwc1125