GetQueryEndpoint provides the url to contact the query API
()
| 286 | |
| 287 | // GetQueryEndpoint provides the url to contact the query API |
| 288 | func (c *ServerConfig) GetV1MetadataEndpoint() string { |
| 289 | nurl := *c.ParsedEndpoint |
| 290 | nurl.Path = path.Join(nurl.Path, c.APIPaths.V1Metadata) |
| 291 | return nurl.String() |
| 292 | } |
| 293 | |
| 294 | // GetVersionEndpoint provides the url to contact the config API |
| 295 | func (c *ServerConfig) getConfigEndpoint() string { |