Commit Graph

43 Commits

Author SHA1 Message Date
kercylan98 9d9f7a3854 docs: 增加 space 包 README.md 文档,优化 room 相关内容可读性 2023-12-23 10:59:20 +08:00
kercylan98 05c65e9efd feat: 移除 super.BitMask 以 super.BitSet 替代,super.BitSet 是一个可动态增长的比特位集合 2023-12-15 16:21:03 +08:00
kercylan98 38cc3129ba feat: super 包新增比特掩码类型 BitMask,可通过 super.Mask 函数创建。该类型可替代 super.Permission 2023-12-13 17:07:57 +08:00
kercylan98 5714a437cc feat: super.RetryByExponentialBackoff 和 super.ConditionalRetryByExponentialBackoff 支持设置忽略的错误,当返回忽略的错误时将不再进行重试 2023-12-12 10:52:51 +08:00
kercylan98 5ffd8163f0 feat: super 包新增 NumberToRome 函数,支持将整数转为罗马数字 2023-12-11 11:47:39 +08:00
kercylan98 52c92c8844 test: super 包中新增版本比较相关的测试用例 2023-12-05 12:07:50 +08:00
kercylan98 23d223508b feat: super 包新增 OldVersion 和 CompareVersion 函数用于版本比较 2023-11-29 20:01:35 +08:00
kercylan98 c6b929afe8 fix: log 包日志配置无效问题修复 2023-11-29 18:34:29 +08:00
kercylan98 274402e721 feat: super 新增 ConditionalRetryByExponentialBackoff 函数,支持可中断的退避指数算法重试 2023-11-13 11:27:39 +08:00
kercylan98 9157c6a309 feat: super 包新增 Hostname 函数获取主机名 2023-11-10 11:57:43 +08:00
kercylan98 01092fe738 feat: super.LossCounter 支持打印 2023-11-10 11:55:51 +08:00
kercylan98 d191dabfd3 feat: super 包新增规则重试及退避指数重试 2023-11-06 20:27:08 +08:00
kercylan98 390f68b941 recessive: error 调整 2023-10-23 17:20:36 +08:00
kercylan98 2b49a36e8e feat: super 包新增 LossCounter,适用于统计代码段时间损耗,可通过 super.StartLossCounter 函数进行使用 2023-10-21 18:19:11 +08:00
kercylan98 20f62fee87 feat: super 包新增 LaunchTime 函数,支持获取程序启动时间 2023-10-21 11:16:27 +08:00
kercylan98 9e00684902 feat: super 包新增简单的权限控制器,可通过 super.NewPermission 函数进行创建 2023-10-16 12:44:38 +08:00
kercylan98 2e4ab44122 feat: super 包支持通过 MarshalToTargetWithJSON 将对象通过 JSON 序列化为目标对象 2023-10-07 10:34:05 +08:00
kercylan98 13c5483617 feat: super 包增加 RetryForever 函数,支持永久重试直到成功 2023-09-21 15:24:40 +08:00
kercylan98 ab3926e307 fix: super 包优化 GetError 函数的空指针问题 2023-09-19 12:33:16 +08:00
kercylan98 82973dd11a fix: 修复 super.RegError 和 RegErrorRef 空指针问题 2023-09-09 17:22:21 +08:00
kercylan98 83b28003c8 perf: 调整 super 包 error 部分为使用后再申请内存 2023-09-09 15:26:43 +08:00
kercylan98 de7b085cf7 refactor: 重构 super 包中的 error 部分,优化设计不合理的地方,支持动态注册错误码,支持并发读写 2023-09-09 15:22:49 +08:00
kercylan98 518d47ae6a feat: super 包新增函数 IsNumber,用于判断一个值是否为数字类型 2023-08-26 09:18:35 +08:00
kercylan98 0ad8a5c7d5 refactor: storage 包重构,优化整体设计 2023-08-24 18:32:13 +08:00
kercylan98 4850dd4aa3 refactor: 调整 server 数据包相关处理函数的接收参数不再为 server.Packet,同时移除 server.Packet 2023-08-23 19:29:55 +08:00
kercylan98 ed45d1a643 fix: #40 uint 类型溢出问题处理 2023-08-22 15:52:11 +08:00
kercylan98 d37fbb7aa2 feat: super 包新增大量 string 和 number 基本类型转换的辅助函数 2023-08-22 14:14:30 +08:00
kercylan98 89c32b4ce3 feat: super 包新增 StringToFloat64 函数 2023-08-22 14:07:04 +08:00
kercylan98 997bbbe2bc feat: super 包新增 Verify 函数,适用于业务条件校验 2023-07-29 10:03:43 +08:00
kercylan98 930fe159bf test:
super 包添加 Convert 函数的单元测试
2023-07-27 18:26:21 +08:00
kercylan98 867d1ecf82 feat: super 包支持使用 Convert 强制转换数据类型 2023-07-27 18:24:45 +08:00
kercylan98 1ae14f0d7b refactor: kcrypto 包更名为 crypto,与目录名对应 2023-07-27 16:46:09 +08:00
kercylan98 11ad997eaa feat: super 包支持无错的 json 序列化 2023-07-27 15:40:18 +08:00
kercylan 2cbffbf967 feat: super 包支持注册第三方错误,将第三方错误转换为特定错误代码和信息 2023-07-21 23:20:22 +08:00
kercylan98 506e0f2ee4 feat: super 包添加 []byte、string 零拷贝转换函数 2023-07-20 19:32:58 +08:00
kercylan98 1dcbd0a220 feat: 支持使用 super.RegError 函数为错误注册全局错误码,使用 super.GetErrorCode 根据错误获取全局错误码 2023-07-19 11:07:06 +08:00
kercylan98 3ee638f4df feat: super 包支持使用 super.GoFormat 函数格式化 go 文件 2023-07-17 17:05:21 +08:00
kercylan98 7e7a504421 feat: 重构 config 和 configexport 包
- 配置加载包 config 更名为 configuration
- 配置导出包 configexport 更名为 pce
- 重构
config 包加载方式,采用加载器的方式,并且支持多加载器
- 重构 configexport
包,支持通过实现模板的方式导出不同格式的数据文件及结构文件
2023-07-17 13:28:17 +08:00
kercylan98 25ed712fc9 feat: super 包支持 match 控制函数 2023-07-14 21:24:27 +08:00
kercylan98 b5a4bc959d feat: 支持通过 super.StackGO 进行跨协程同步运行堆栈抓取 2023-07-12 18:36:47 +08:00
kercylan98 a4a27ea9da feat: 可使用 super.NewStackGo 创建用于对上一个协程堆栈进行收集的收集器 2023-07-12 17:45:30 +08:00
kercylan98 ee87612f60 feat: 新增重试函数及两个关于 func 执行的辅助函数
支持通过 super.Handle 和 super.HandleV 对函数进行执行,如果传入的函数不为 nil 则会执行
2023-07-05 13:39:45 +08:00
kercylan98 3248cc9682 init commit 2023-04-07 11:21:50 +08:00