GetVersionEndpoint provides the url to contact the version API
()
| 254 | |
| 255 | // GetVersionEndpoint provides the url to contact the version API |
| 256 | func (c *ServerConfig) GetVersionEndpoint() string { |
| 257 | nurl := *c.ParsedEndpoint |
| 258 | nurl.Path = path.Join(nurl.Path, c.APIPaths.Version) |
| 259 | return nurl.String() |
| 260 | } |
| 261 | |
| 262 | // GetQueryEndpoint provides the url to contact the query API |
| 263 | func (c *ServerConfig) GetV1QueryEndpoint() string { |
no test coverage detected