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

Function GetSockAddr

testutil/client.go:193–196  ·  view source on GitHub ↗

Getter functions that ensure addresses are initialized before returning them These can be used when you need to ensure initialization happens

()

Source from the content-addressed store, hash-verified

191// These can be used when you need to ensure initialization happens
192
193func GetSockAddr() string {
194 ensureAddressesInitialized()
195 return sockAddr
196}
197
198func GetSockAddrHttp() string {
199 ensureAddressesInitialized()

Callers 15

setupFunction · 0.92
TestMainFunction · 0.92
load_test.goFile · 0.92
TestMainFunction · 0.92
TestLivePasswordFunction · 0.92
TestCDCFunction · 0.92
TestBackupMinioFunction · 0.92
TestBackupMinioLargeFunction · 0.92
TestBackupMinioEFunction · 0.92
TestBackupOfOldRestoreFunction · 0.92
TestRestoreOfOldBackupFunction · 0.92
TestBackupFilesystemFunction · 0.92

Calls 1

Tested by 15

setupFunction · 0.74
TestMainFunction · 0.74
TestMainFunction · 0.74
TestLivePasswordFunction · 0.74
TestCDCFunction · 0.74
TestBackupMinioFunction · 0.74
TestBackupMinioLargeFunction · 0.74
TestBackupMinioEFunction · 0.74
TestBackupOfOldRestoreFunction · 0.74
TestRestoreOfOldBackupFunction · 0.74
TestBackupFilesystemFunction · 0.74