chore: update dependencies and refactor webhook handling

- Added new dependencies for SQLite support and improved HTTP client functionality in go.mod and go.sum.
- Refactored webhook server implementation to utilize a simplified version, enhancing code maintainability.
- Updated API client to leverage a generic request method, streamlining API interactions.
- Modified configuration to include access token for webhook server, improving security.
- Enhanced event handling and request processing in the API client for better performance.
This commit is contained in:
2026-01-05 18:42:45 +08:00
parent fb5fae1524
commit f3a72264af
10 changed files with 346 additions and 181 deletions

View File

@@ -50,7 +50,7 @@ enabled = true
connection_type = "ws"
self_id = "123456789"
nickname = "TestBot"
ws_url = "ws://127.0.0.1:3001"
ws_url = "ws://192.168.10.148:3001"
access_token = "hDeu66@_DDhgMf<9"
timeout = 30
heartbeat = 30