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 里的公共默认实现,只保留接口定义。
17 lines
528 B
Go
17 lines
528 B
Go
package contracts
|
|
|
|
import (
|
|
"git.fsdpf.net/go/req"
|
|
)
|
|
|
|
// ResVirtualTableSetup 由 framework-v2 在 sqlite_vtable build tag 下注册到容器,负责向 SQLite
|
|
// 注册虚拟表模块,具体说明见 req.ResVirtualTableSetup。
|
|
type ResVirtualTableSetup = req.ResVirtualTableSetup
|
|
|
|
// ResVirtualTable 在 req.ResVirtualTable 基础上合并 Controller,使实现方可以访问 DI 容器等框架能力;
|
|
// 具体方法说明见 req.ResVirtualTable。
|
|
type ResVirtualTable interface {
|
|
Controller
|
|
req.ResVirtualTable
|
|
}
|