SDKs
...
Go SDK
v1 (legacy)

Common

4min
go sdk is divided into 3 clients floating client license client management client response types there are 3 response wrapper types these are used for future extendability and ease of use client response management response searchresult error client response response type is used by all 3 clients, and it's a generic wrapper for any request type response\[t any] struct { 	payload \[]byte // raw response json 	value t // typed value 	error error // error, if it exists } as an example, license client activatelicense would return client response\[licenseresponse], so response value would be of type licenseresponse example resp = client activatelicense(context background(), ) // access licenseresponse fields resp value licensekey // or get whole licenseresponse struct license = resp value license licensekey management response searchresult searchresult is used only in management client to wrap search/list request responses for example, for listcustomers request error error type is commonly used as response for delete requests, e g deletecustomer