0df3d16976
Query Version Sync Runner * testing * queryversiosyncworking * update * tests * fixtests
27 lines
498 B
Go
27 lines
498 B
Go
package resultset
|
|
|
|
import (
|
|
"queryorchestration/internal/query"
|
|
"queryorchestration/internal/query/result"
|
|
resultsync "queryorchestration/internal/query/result/sync"
|
|
"queryorchestration/internal/serviceconfig"
|
|
)
|
|
|
|
type Services struct {
|
|
Result *result.Service
|
|
Query *query.Service
|
|
Sync *resultsync.Service
|
|
}
|
|
|
|
type Service struct {
|
|
cfg serviceconfig.ConfigProvider
|
|
svc *Services
|
|
}
|
|
|
|
func New(cfg serviceconfig.ConfigProvider, svc *Services) *Service {
|
|
return &Service{
|
|
cfg,
|
|
svc,
|
|
}
|
|
}
|