mirror of
https://github.com/usual2970/certimate.git
synced 2025-08-12 04:11:46 +00:00
.github
.vscode
docker
internal
app
applicant
certificate
deployer
domain
notify
pkg
repository
rest
routes
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
20 lines
529 B
Go
20 lines
529 B
Go
package scheduler
|
|
|
|
import (
|
|
"github.com/usual2970/certimate/internal/certificate"
|
|
"github.com/usual2970/certimate/internal/repository"
|
|
"github.com/usual2970/certimate/internal/workflow"
|
|
)
|
|
|
|
func Register() {
|
|
workflowRepo := repository.NewWorkflowRepository()
|
|
workflowSvc := workflow.NewWorkflowService(workflowRepo)
|
|
|
|
certificateRepo := repository.NewCertificateRepository()
|
|
certificateSvc := certificate.NewCertificateService(certificateRepo)
|
|
|
|
NewCertificateScheduler(certificateSvc)
|
|
|
|
NewWorkflowScheduler(workflowSvc)
|
|
}
|