mirror of
https://github.com/usual2970/certimate.git
synced 2025-08-27 19:51:44 +00:00
.github
.vscode
docker
internal
app
applicant
certificate
deployer
domain
notify
pkg
repository
rest
scheduler
certificate.go
scheduler.go
workflow.go
statistics
workflow
migrations
ui
.dockerignore
.editorconfig
.gitignore
.goreleaser.yml
CHANGELOG.md
CONTRIBUTING.md
CONTRIBUTING_EN.md
Dockerfile
LICENSE.md
Makefile
README.md
README_EN.md
go.mod
go.sum
main.go
nixpacks.toml
usage.gif
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())
|
|
}
|