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

Method zeroURL

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

Source from the content-addressed store, hash-verified

195}
196
197func (z *zero) zeroURL(c *LocalCluster) (string, error) {
198 publicPort, err := publicPort(c.dcli, z, zeroGrpcPort)
199 if err != nil {
200 return "", err
201 }
202 return "0.0.0.0:" + publicPort + "", nil
203}
204
205type alpha struct {
206 id int

Callers

nothing calls this directly

Calls 1

publicPortFunction · 0.85

Tested by

no test coverage detected