mirror of
https://github.com/certimate-go/certimate.git
synced 2026-06-13 21:01:32 +08:00
12 lines
227 B
Go
12 lines
227 B
Go
package scheduler
|
|
|
|
import "context"
|
|
|
|
type workflowService interface {
|
|
InitSchedule(ctx context.Context) error
|
|
}
|
|
|
|
func InitWorkflowScheduler(service workflowService) error {
|
|
return service.InitSchedule(context.Background())
|
|
}
|