HTTPClient creates an HTTP client
()
| 31 | |
| 32 | // HTTPClient creates an HTTP client |
| 33 | func (c *ComposeCluster) HTTPClient() (*dgraphapi.HTTPClient, error) { |
| 34 | httpClient, err := dgraphapi.GetHttpClient(testutil.GetSockAddrHttp(), testutil.GetSockAddrZeroHttp()) |
| 35 | if err != nil { |
| 36 | return nil, err |
| 37 | } |
| 38 | httpClient.HttpToken = &dgraphapi.HttpToken{} |
| 39 | return httpClient, nil |
| 40 | } |
| 41 | |
| 42 | func (c *ComposeCluster) AlphasHealth() ([]string, error) { |
| 43 | return nil, errNotImplemented |
nothing calls this directly
no test coverage detected