mirror of
https://github.com/certimate-go/certimate.git
synced 2026-10-28 03:22:24 +08:00
14 lines
241 B
Go
14 lines
241 B
Go
package scheduler
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type certificateService interface {
|
|
InitSchedule(ctx context.Context) error
|
|
}
|
|
|
|
func initCertificateScheduler(service certificateService) error {
|
|
return service.InitSchedule(context.Background())
|
|
}
|