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