(queryURL string, orgID string, queryLiveStores bool)
| 244 | } |
| 245 | |
| 246 | func createHTTPClient(queryURL string, orgID string, queryLiveStores bool) *httpclient.Client { |
| 247 | httpClient := httpclient.New(queryURL, orgID) |
| 248 | httpClient.QueryLiveStores = queryLiveStores |
| 249 | return httpClient |
| 250 | } |
| 251 | |
| 252 | func getGRPCEndpoint(endpoint string) (string, error) { |
| 253 | u, err := url.Parse(endpoint) |