ideaa
f639fc5681
feat(store): add gorm config options support for database stores
...
add options parameter to DB, SQLite and SqlServer functions to allow custom gorm config
implement ZapGormLogger for better gorm logging integration with zap
v1.5.1
2025-10-17 10:06:58 +08:00
ideaa
7cf767cbaa
fix(logger): make action pattern matching case-insensitive and simplify filter logic
...
Remove case sensitivity check in action pattern matching and eliminate redundant string contains check since pattern matching already covers this
2025-09-29 15:58:56 +08:00
ideaa
7a2ea14caa
feat(client): add recent logs ring buffer for tracking last 100 log entries
...
Implement a circular buffer to store recent logs with thread-safe access
Add GetRecentLogs method to retrieve logs in chronological order
2025-09-29 13:59:17 +08:00
ideaa
85a75ec975
1.5.0
v1.5.0
2025-09-29 10:51:19 +08:00
ideaa
84e2589b68
template
2025-09-29 10:48:53 +08:00
ideaa
bdb4799a83
feat(ws): add guard callback for hub monitoring
...
Add GuardFunc type and SetGuardFunc to set a global callback for monitoring hub activity. The callback is executed periodically during the hub's guard loop to allow custom monitoring logic.
2025-09-29 10:42:23 +08:00
ideaa
5dfa5f4f72
refactor: simplify nil check and fix handler validation
...
- Simplify IsNil() method by directly returning the nil check result
- Remove redundant nil check for handlers slice and fix indentation
2025-09-29 10:14:07 +08:00
ideaa
b8ff6aef3c
feat(ws): add user cleanup logic for inactive connections
...
implement UnsubAllTopics method to clean user subscriptions
add periodic cleanup of inactive users in Hubc guard loop
add RemoveSubUser method to Topic for proper user removal
2025-09-29 10:12:17 +08:00
ideaa
577363287d
refactor(ws/pubsub): simplify topic message processing loop
...
Remove redundant channel check and flatten select statement into a range loop for cleaner message handling
2025-09-29 09:40:25 +08:00
ideaa
5f9834d6c2
*
2025-09-29 09:39:43 +08:00
ideaa
6d7069da61
devModel
2025-09-28 18:01:02 +08:00
ideaa
9df002867a
disconnect
v1.4.6
2025-09-24 11:54:49 +08:00
ideaa
3dba31942f
simple uid
2025-09-05 18:01:02 +08:00
ideaa
f493d2b179
*
v1.4.5
2025-09-04 14:52:33 +08:00
ideaa
74f5391609
Add automatic dependency update before go mod tidy in new project creation
v1.4.4
2025-09-04 14:50:37 +08:00
ideaa
84a5bcc871
Add go mod tidy execution to new project creation
v1.4.3
2025-09-04 14:45:12 +08:00
ideaa
e93fed58c9
Update version to v1.4.2 in go.mod template
v1.4.2
2025-09-04 14:35:44 +08:00
ideaa
d1060a9c65
Update version to v1.4.1 in go.mod template
2025-09-04 14:33:32 +08:00
ideaa
5ae309e351
升级依赖
v1.4.0
2025-09-04 14:26:14 +08:00
ideaa
97d3ca76d0
简化截断逻辑
2025-09-04 14:20:51 +08:00
ideaa
a56d4ad5b7
*
v1.3.2
2025-06-17 16:37:46 +08:00
ideaa
57cb28f47e
aqi-cli
2025-05-26 10:47:52 +08:00
ideaa
eb04ace652
增加事件
2025-05-19 10:03:05 +08:00
ideaa
8d75fd8901
日志过滤
2025-05-19 09:01:29 +08:00
ideaa
4cca2a6d6d
WithMsg
2025-05-19 09:01:29 +08:00
ideaa
a9b9fca2a1
AddLog,SendAction
v1.3.1
2025-04-19 16:24:32 +08:00
ideaa
631fc1b452
limiter && request queue
2025-04-09 14:05:02 +08:00
ideaa
75d413da42
action id
v1.3.0
2025-04-01 18:11:27 +08:00
ideaa
9f0dba4c79
context log
v1.2.0
2025-03-03 14:35:37 +08:00
ideaa
503110fc1a
IpConnAddr
2025-02-11 15:06:32 +08:00
ideaa
9eaad77d4c
替换日志中的base64部分
2025-01-24 17:44:40 +08:00
ideaa
9f5ecdb4a9
azdg
2025-01-24 14:48:13 +08:00
ideaa
a29148755f
优化日志系统格式
2025-01-24 10:41:38 +08:00
ideaa
2a2273a106
By && IsNil
2025-01-14 10:19:15 +08:00
ideaa
74f354ada0
add httpRequest,HttpWriter
2025-01-07 13:54:00 +08:00
ideaa
8ab720505e
utils
v1.1.0
2024-11-13 14:05:25 +08:00
ideaa
5c4cf1b2c0
*
2024-08-09 19:03:21 +08:00
ideaa
c522eb468c
remove non-generic business logic
v1.0.1
2024-08-09 14:31:23 +08:00
ideaa
f27b3c5574
Implement singleton pattern for database connection
2024-07-26 11:22:35 +08:00
ideaa
c315dd2f25
add options
2024-07-26 08:59:35 +08:00
ideaa
2c31cabc5b
add callback
2024-07-08 08:58:39 +08:00
ideaa
52d80f632f
*
2024-06-28 10:40:22 +08:00
ideaa
920268c632
feat: add recovery middleware and use negative error codes for system errors
...
- Added a new recovery middleware
- Use the negative error codes.
2024-06-21 12:14:06 +08:00
ideaa
b9be165fd2
init
v1.0.0
2024-06-18 18:09:39 +08:00
ideaa
af402cc224
Initial commit
2024-06-18 17:56:47 +08:00