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 里的公共默认实现,只保留接口定义。
16 lines
234 B
Go
16 lines
234 B
Go
package contracts
|
|
|
|
import (
|
|
"git.fsdpf.net/go/reflux"
|
|
"git.fsdpf.net/go/req"
|
|
)
|
|
|
|
type CondflowService interface {
|
|
Run(name string, input reflux.R, u req.User) error
|
|
}
|
|
|
|
type FlowDecision interface {
|
|
Controller
|
|
Res() req.Resource
|
|
}
|