Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestConnectionRequest = func(ctx context.Context, httpClient *http.HttpClient) error {
_, err := httpClient.Get(ctx, "")
return err
}
Functions ¶
This section is empty.
Types ¶
type ExampleConnectionTester ¶
type ExampleConnectionTester struct { Ctx context.Context HttpClient *http.HttpClient }
ExampleConnectionTester is a struct for testing connection to server, containing needed properties. Extends ConnectionTester from SDK. See https://github.com/digital-ai/release-integration-sdk-go/blob/master/test/connection.go
func (*ExampleConnectionTester) TestConnection ¶
func (tester *ExampleConnectionTester) TestConnection() error
TestConnection implements logic for testing the connection to the server. If there is no error, connection is successful.
Click to show internal directories.
Click to hide internal directories.