Before You Start (SDK for Go)
This section describes the version updates, compatibility, and important notes about Object Storage Service (OBS) SDK for Go.
Version Updates and Compatibility
Table 1 describes the version updates and compatibility of OBS SDK for Go.
Version |
Update |
Description |
Compatible or Not |
---|---|---|---|
3.23.4 (the latest version) |
New features |
|
- |
3.23.3 |
New features |
Added obs.WithCallbackHeader that allows you to configure callback parameters in object upload requests. |
Yes |
3.22.11 |
Code optimization |
Optimized the OBS SDK for Go code. |
Yes |
3.21.12 |
New features |
Added obs.WithTrafficLimitHeader that limits the bandwidth for a single connection. |
Yes |
Earlier than 3.21.12 |
- |
End of matching. You are advised to upgrade the version. |
- |
Important Notes
- Make sure that you are familiar with basic OBS concepts, such as buckets, objects, access keys (AKs/SKs), and endpoints and domain names.
- Some features are available only for some regions. If 405 HTTP status code is returned for a certain feature API, check whether the region supports that feature. For details, refer to Function Overview or submit a service ticket to contact technical support.
- Namespace: obs is used as the namespace to be compatible with earlier OBS 2.0 versions (2.2.x). All data types and API definitions contained in the SDK belong to this namespace. Before using OBS SDK for Go, you need to import obs.
- API functions are compatible with earlier OBS 2.0 versions (2.2.x).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot