mirror of
https://github.com/certimate-go/certimate.git
synced 2026-06-19 21:03:27 +08:00
12 lines
236 B
Go
12 lines
236 B
Go
package scheduler
|
|
|
|
import "context"
|
|
|
|
type certificateService interface {
|
|
InitSchedule(ctx context.Context) error
|
|
}
|
|
|
|
func InitCertificateScheduler(service certificateService) error {
|
|
return service.InitSchedule(context.Background())
|
|
}
|