mirror of
https://github.com/woodchen-ink/certimate.git
synced 2025-07-18 09:21:56 +08:00
12 lines
235 B
Go
12 lines
235 B
Go
package scheduler
|
|
|
|
import "context"
|
|
|
|
type certificateService interface {
|
|
InitSchedule(ctx context.Context) error
|
|
}
|
|
|
|
func NewCertificateScheduler(service certificateService) error {
|
|
return service.InitSchedule(context.Background())
|
|
}
|