Files
query-orchestration/internal/serviceconfig/queue/query/config.go
T

14 lines
220 B
Go
Raw Normal View History

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
}