Files
contracts/cron.go
T
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

17 lines
207 B
Go

package contracts
import "git.fsdpf.net/go/req"
type CronService interface {
Start() error
Shutdown() error
Restart() error
}
type Cron interface {
Controller
// 任务处理
Run(req.User) error
}