GetQueryEndpoint provides the url to contact the query API
()
| 261 | |
| 262 | // GetQueryEndpoint provides the url to contact the query API |
| 263 | func (c *ServerConfig) GetV1QueryEndpoint() string { |
| 264 | nurl := *c.ParsedEndpoint |
| 265 | nurl.Path = path.Join(nurl.Path, c.APIPaths.V1Query) |
| 266 | return nurl.String() |
| 267 | } |
| 268 | |
| 269 | func (c *ServerConfig) GetV2QueryEndpoint() string { |
| 270 | nurl := *c.ParsedEndpoint |