71f9802e1a
Split Query Running + Debugging Full Flow * completedquerysyncrunner * spliitinglogic * synccomplete * informdependents * only push same collector * deps * livetesting * foundissue * some issues resolved * activeupdate * collectorupdatefixes * fix dbquesries * tests * tests * pollingdebug
27 lines
497 B
Go
27 lines
497 B
Go
package querytest
|
|
|
|
import (
|
|
"queryorchestration/internal/document"
|
|
"queryorchestration/internal/job/collector"
|
|
"queryorchestration/internal/query/result"
|
|
"queryorchestration/internal/serviceconfig"
|
|
)
|
|
|
|
type Services struct {
|
|
Result *result.Service
|
|
Collector *collector.Service
|
|
Document *document.Service
|
|
}
|
|
|
|
type Service struct {
|
|
cfg serviceconfig.ConfigProvider
|
|
svc *Services
|
|
}
|
|
|
|
func New(cfg serviceconfig.ConfigProvider, svc *Services) *Service {
|
|
return &Service{
|
|
cfg,
|
|
svc,
|
|
}
|
|
}
|