Files
query-orchestration/internal/query/result/service.go
T

31 lines
457 B
Go
Raw Normal View History

2024-12-23 12:26:05 +00:00
package result
import (
"queryorchestration/internal/query"
"queryorchestration/internal/serviceconfig"
2024-12-23 12:26:05 +00:00
"github.com/google/uuid"
)
2024-12-24 12:47:40 +00:00
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
2024-12-23 12:26:05 +00:00
}
func New(cfg serviceconfig.ConfigProvider, svc *Services) *Service {
return &Service{
cfg,
svc,
2024-12-23 12:26:05 +00:00
}
}