WithNumZeros sets the number of zero nodes in the Dgraph cluster
(n int)
| 152 | |
| 153 | // WithNumZeros sets the number of zero nodes in the Dgraph cluster |
| 154 | func (cc ClusterConfig) WithNumZeros(n int) ClusterConfig { |
| 155 | cc.numZeros = n |
| 156 | return cc |
| 157 | } |
| 158 | |
| 159 | // WithReplicas sets the number of replicas in each alpha group |
| 160 | func (cc ClusterConfig) WithReplicas(n int) ClusterConfig { |
no outgoing calls