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
31 lines
457 B
Go
31 lines
457 B
Go
package result
|
|
|
|
import (
|
|
"queryorchestration/internal/query"
|
|
"queryorchestration/internal/serviceconfig"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Result struct {
|
|
ID uuid.UUID
|
|
QueryID uuid.UUID
|
|
QueryVersion int32
|
|
}
|
|
|
|
type Services struct {
|
|
Query *query.Service
|
|
}
|
|
|
|
type Service struct {
|
|
cfg serviceconfig.ConfigProvider
|
|
svc *Services
|
|
}
|
|
|
|
func New(cfg serviceconfig.ConfigProvider, svc *Services) *Service {
|
|
return &Service{
|
|
cfg,
|
|
svc,
|
|
}
|
|
}
|