SDKs
Go SDK
Common
4min
Go SDK is divided into 3 clients:
- Floating client
- License client
- Management client
There are 3 response wrapper types. These are used for future extendability and ease of use.
- Client.Response
- Management_response.SearchResult
- Error
Response type is used by all 3 clients, and it's a generic wrapper for any request:
As an example, license_client.ActivateLicense would return client.Response[LicenseResponse], so response.Value would be of type LicenseResponse. Example:
SearchResult is used only in management client to wrap search/list request responses. For example, for ListCustomers request.
Error type is commonly used as response for Delete requests, e.g. DeleteCustomer.
Updated 05 Sep 2023

Did this page help you?