mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-09 05:59:50 +00: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())
|
|
}
|