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

Method alphaURL

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

Source from the content-addressed store, hash-verified

371}
372
373func (a *alpha) alphaURL(c *LocalCluster) (string, error) {
374 publicPort, err := publicPort(c.dcli, a, alphaGrpcPort)
375 if err != nil {
376 return "", err
377 }
378 return "0.0.0.0:" + publicPort + "", nil
379}
380
381func (a *alpha) changeStatus(isRunning bool) {
382 a.isRunning = isRunning

Callers

nothing calls this directly

Calls 1

publicPortFunction · 0.85

Tested by

no test coverage detected