MCPcopy
hub / github.com/dgraph-io/dgraph / assignURL

Method assignURL

dgraphtest/dgraph.go:185–191  ·  view source on GitHub ↗
(c *LocalCluster)

Source from the content-addressed store, hash-verified

183}
184
185func (z *zero) assignURL(c *LocalCluster) (string, error) {
186 publicPort, err := publicPort(c.dcli, z, zeroHttpPort)
187 if err != nil {
188 return "", err
189 }
190 return "http://0.0.0.0:" + publicPort + "/assign", nil
191}
192
193func (z *zero) alphaURL(c *LocalCluster) (string, error) {
194 return "", errNotImplemented

Callers

nothing calls this directly

Calls 1

publicPortFunction · 0.85

Tested by

no test coverage detected