Files
query-orchestration/api/queryService/controllers.go
T
Michael McGuinness 7001ca854c Merged in feature/docinitialisation (pull request #41)
Queuing Changes and Cfg Testing

* staarting

* staarting

* startedpush

* note

* save

* mocking

* removederrs

* fixtests

* cleanuperrs

* newenvsetup

* preppingtests

* queue

* mmovetocfgpassunittests

* sortoutconfig

* passinginteg

* deps

* fixtests
2025-02-03 17:30:50 +00:00

34 lines
700 B
Go

package queryservice
import (
"queryorchestration/internal/client"
"queryorchestration/internal/export"
"queryorchestration/internal/job"
"queryorchestration/internal/job/collector"
"queryorchestration/internal/query"
"github.com/go-playground/validator/v10"
)
const Name = "queryService"
type Services struct {
Export *export.Service
Collector *collector.Service
Query *query.Service
Client *client.Service
Job *job.Service
}
type Controllers struct {
validator *validator.Validate
svc *Services
}
func NewControllers(validator *validator.Validate, services *Services) *Controllers {
return &Controllers{
validator: validator,
svc: services,
}
}