You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package tickevent
-
- import (
- tickevent "gitlink.org.cn/cloudream/common/pkgs/tickevent"
- mydb "gitlink.org.cn/cloudream/storage/common/pkgs/db2"
- "gitlink.org.cn/cloudream/storage/scanner/internal/event"
- )
-
- type ExecuteArgs struct {
- EventExecutor *event.Executor
- DB *mydb.DB
- }
-
- type StartOption = tickevent.StartOption
-
- type Executor = tickevent.Executor[ExecuteArgs]
-
- type ExecuteContext = tickevent.ExecuteContext[ExecuteArgs]
-
- type Event = tickevent.TickEvent[ExecuteArgs]
-
- func NewExecutor(args ExecuteArgs) Executor {
- return tickevent.NewExecutor(args)
- }
|