7001ca854c
Queuing Changes and Cfg Testing * staarting * staarting * startedpush * note * save * mocking * removederrs * fixtests * cleanuperrs * newenvsetup * preppingtests * queue * mmovetocfgpassunittests * sortoutconfig * passinginteg * deps * fixtests
34 lines
700 B
Go
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,
|
|
}
|
|
}
|