MCPcopy
hub / github.com/hasura/graphql-engine / getConfigEndpoint

Method getConfigEndpoint

cli/cli.go:295–299  ·  view source on GitHub ↗

GetVersionEndpoint provides the url to contact the config API

()

Source from the content-addressed store, hash-verified

293
294// GetVersionEndpoint provides the url to contact the config API
295func (c *ServerConfig) getConfigEndpoint() string {
296 nurl := *c.ParsedEndpoint
297 nurl.Path = path.Join(nurl.Path, c.APIPaths.Config)
298 return nurl.String()
299}
300
301// ParseEndpoint ensures the endpoint is valid.
302func (c *ServerConfig) ParseEndpoint() error {

Callers 1

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected