Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HeaderSDKAnalytics Header HeaderSDKAnalytics = "X-IBMCloud-SDK-Analytics" // HeaderUserAgent Header HeaderUserAgent = "User-Agent" // SDKName name of this SDK SDKName = "ibm-cos-resource-config-sdk-go" )
View Source
const SDKVersion = "1.0.0"
SDKVersion : version of this SDK
Variables ¶
This section is empty.
Functions ¶
func GetSdkHeaders ¶
GetSdkHeaders - returns the set of SDK-specific headers to be included in an outgoing request. Parameters:
serviceName - the name of the service as defined in the API definition (e.g. "MyService1") serviceVersion - the version of the service as defined in the API definition (e.g. "V1") operationId - the operationId as defined in the API definition (e.g. getContext)
Returns:
a Map which contains the set of headers to be included in the REST API request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.