what
|
898cb72422
|
feat: Controller 增加 Logger() 方法与标准日志字段 key
Controller.Container() 改用 contracts 自己的 Injector 类型别名(跟 di.go
里其它地方一致),不直接暴露 do.Injector。新增 Logger() *slog.Logger 让
控制器可以拿到当前进程的默认 logger 记结构化日志;LogKeyKind/LogKeyComponent
定义了两个标准字段 key(控制器大类 + 具体实例/类型),供各类 handler 统一
用同一套日志字段命名。
|
2026-08-21 09:45:00 +08:00 |
|
what
|
8b122816a1
|
重构: 各类型 Controller 接口精简,配合 framework-v2 internal/handler 收拢公共实现
app.go/condflow.go/cron.go/event_stream.go/executor.go/gobridge.go/grpc.go/job.go/mcp.go/mqtt.go/res_virtual_table.go/ws.go/controller.go/support/service.go 精简掉搬到 framework-v2 internal/handler 里的公共默认实现,只保留接口定义。
|
2026-07-22 09:14:57 +08:00 |
|
what
|
9ad5d25836
|
feat: 升级 samber/do v1 → v2
|
2026-05-15 09:04:12 +08:00 |
|
what
|
bddd754869
|
[feat] 重新梳理依赖
|
2024-05-09 13:15:24 +08:00 |
|
what
|
47a74d113e
|
[feat] 基础 controller 目录结构调整
|
2024-04-30 13:48:11 +08:00 |
|
what
|
a8084aee8c
|
[feat] Controller AuthDB 约束
|
2023-07-13 13:54:21 +08:00 |
|
what
|
05f7b872c7
|
[feat] Add Init func to Controller interface
|
2023-07-13 10:04:44 +08:00 |
|
what
|
c496b12972
|
[feat] Add Init func to BaseController
|
2023-07-13 09:35:04 +08:00 |
|
what
|
b2a2d70f66
|
[feat] 命名优化
|
2023-06-05 16:52:03 +08:00 |
|
what
|
310ef2d2c8
|
[feat] add NewBaseController func
|
2023-06-05 14:46:25 +08:00 |
|
what
|
56a3ee4a9a
|
[feat] WsController 调整
|
2023-06-05 14:20:32 +08:00 |
|
what
|
46afbc178a
|
[feat] NewWsBaseController 参数调整
|
2023-06-05 14:13:27 +08:00 |
|
what
|
02cf3c74a5
|
[feat] job 和 grpc 支持
|
2023-06-05 13:37:32 +08:00 |
|
what
|
70269f22e9
|
[feat] 新增gRPC支持
|
2023-05-23 17:14:02 +08:00 |
|
what
|
5f1a570f09
|
[feat] 新增 GRpController
|
2023-05-22 13:26:49 +08:00 |
|
what
|
e82ca51b08
|
first commit
|
2023-04-12 16:56:55 +08:00 |
|