MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / init

Method init

dgraphtest/dcloud_cluster.go:55–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (c *DCloudCluster) init() error {
56 _, cleanup, err := c.Client()
57 if err != nil {
58 return err
59 }
60 defer cleanup()
61 return nil
62}
63
64func (c *DCloudCluster) Client() (*dgraphapi.GrpcClient, func(), error) {
65 var conns []*grpc.ClientConn

Callers 1

NewDCloudClusterFunction · 0.95

Calls 2

ClientMethod · 0.95
cleanupFunction · 0.85

Tested by

no test coverage detected