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
14 lines
220 B
Go
14 lines
220 B
Go
package query
|
|
|
|
type QueryConfig struct {
|
|
QueryURL string `env:"QUERY_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *QueryConfig) GetQueryURL() string {
|
|
return c.QueryURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetQueryURL() string
|
|
}
|